-
-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter image size/filetype question #1881
Comments
Afaik, gallery-dl tries to get the orig link first (https://pbs.twimg.com/media/E_zcRmmVEAEd7gb?format=jpg&name=orig) and falls back to lower size if getting orig failed, but you would be notified about that in the log. I guess there's no difference between 4096x4096 and orig. Unfortunately, png format doesn't seem to work with max image size. Your link gives me 504 error, and replacing it with orig is just empty page. But it can be used with large and other sizes during fallback. I'm not sure that png twitter returns would always be true png and not just jpg in png format though. UPD: Turns out 504 error is not related to this, for some reasons I started to get it randomly for direct twitter image links since yesterday. After some time the image loads fine. So yeah, using format=png with name=4096x4096 actually works. But the problem still remains it looks like using format=png doesn't mean the image is true png. |
@mikf, It looks to be fully (binary) identical to BTW, it's possible to not use the fallback URL with the lower resolution/quality at all? |
But An old image that was downloaded before is ~3 MB, now I can redownload it only with Currently even the Twitter's front end faces with "An error occurred loading this image" error when I expand such image. * |
UPD. It stopped to work too. But in Firefox I get 503 error (Service Unavailable), not 504 (Gateway Timeout). UPD2. It started to work Well, it's probably was a "some" Twitter's experiment in production. UPD3. Although with gallery-dl I still face 504 error (the same URL opens fine in a browser (with disabled cache)). UPD4. I have finally downloaded all files without any error with gallery-dl. |
Yeah, I wanted to suggest that too. So far there are 3 types of links to get max sized image: I think they can be used as fallback urls before getting lower sized ones.
That's what I was saying. Probably doesn't worth it. |
There is different - on start i was thinking same but after i got x5000 size. Thank you for helping me downlaod best wallpaper :-) |
What exactly different? 4096x4096 and orig are not the same? |
No, i got 3333x5000 on orig from: |
Ah, I see. Thanks for the info. |
Was wondering if the extractor can be somehow edited to pick and choose the filetype and the image size.
by default it seems to just download whatever the image automatically opens too i.e
a link that looks like this
but you can change the format from jpg to png and you can change the filesize to the maximum that twitter handles (4096x4096) to get the actual original size of the image like this
The text was updated successfully, but these errors were encountered: