mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.42k stars 934 forks source link

sex.com gallery-dl created corrupted files #2485

Open dajotim937 opened 2 years ago

dajotim937 commented 2 years ago

Pins 61423715(gif) and 27005680(jpg). Gallery-dl created corrupted files which can't be open with Windows 10 Photos or Honeyview photo viewers or, I believe, any other apps.

mikf commented 2 years ago

These files are not corrupt as much as they are empty.

https://github.com/mikf/gallery-dl/commit/5d5a08cc693098ec29d595f1f7309c7233626fb9 adds a fallback in such cases and fixes 27005680, but 61423715 remains broken for both regular and fallback url. There is no GIF animation available for that post, only a WebP version.