You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like PNG files are not being downloaded correctly from the twitter image server. The resulting file is a 0 byte PNG file in the output.
A 404 is returned when the downloader appends ?format=jpg&name=orig to the tweet image url for PNGs, however JPGs work correctly. Removing this appended query string to the url fixes the issue and both PNG and JPGs are downloaded correctly.
Seems like PNG files are not being downloaded correctly from the twitter image server. The resulting file is a 0 byte PNG file in the output.
A 404 is returned when the downloader appends ?format=jpg&name=orig to the tweet image url for PNGs, however JPGs work correctly. Removing this appended query string to the url fixes the issue and both PNG and JPGs are downloaded correctly.
Example:
https://pbs.twimg.com/media/FdiUS2_WYAA43bR.png
https://pbs.twimg.com/media/FdiUS2_WYAA43bR.png?format=jpg&name=orig
The text was updated successfully, but these errors were encountered: