gallery-dl
gallery-dl copied to clipboard
blogger & original filenames
{filename}
used to work properly with blogger, but all I get now are a bunch of gibberish
is it still possible after the image domain change?
I have checked some blogspot URLs. It works as usual.
But there is one thing, I think it makes sense to use decodeURIComponent
on {filename}
.
For example, to convert %28%26%29
to (&)
.
Images served through *.bp.blogspot.com
works, but newer images now have blogger.googleusercontent
in the URL, those are the ones that don't save with their original filenames
blogger.googleusercontent
files have their original filename in their Content-Disposition
headers:
$ wget --debug https://blogger.googleusercontent.com/img/a/AVvXsEihp_z6O9Gh5NJwBgMCTWlWWWqGmhhYVTBwrzo5ndN5U0A6bFhOVkvM1ACz5Zmmzf-Pk10h-jbqWsvcxb8M23nQBACRA3y88mZKuLJz81ffk_aS4oaSOLD583-AJGOHJAWgcIm-84i7RQRN8tNQ2fhl5zh7bEAV0EdTWUitXUPR24tsqInm613xm6ZrUg=s0
...
Content-Disposition: inline;filename="Blog End (1).jpg"
Accessing them is not yet supported.
It works now with {filename}, i just tried.