mikf / gallery-dl

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

[Kemono] Received response with content-encoding: gzip, but failed to decode it. #2267

Closed Fukitsu closed 10 months ago

Fukitsu commented 2 years ago
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] file size mismatch (63 < 78) (1/inf)
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) (2/inf)
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) (3/inf)
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) (4/inf)
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) (5/inf)
./gallery-dl/Kemonoparty/fanbox/2253649/2021-01-01 - 1756263/(01)-Info.txt
[downloader.http][warning] ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check')) (6/inf)

This happens when trying to download the text file from: https://kemono.party/fanbox/user/2253649/post/1756263

My postprocessor:

"postprocessors": 
            [
                {
                    "name": "metadata",
                    "event": "post",
                    "filename": "info.json"
                }
            ]
mikf commented 2 years ago

This particular bug for kemono is "fixed" in the latest release (https://github.com/mikf/gallery-dl/commit/d7b8e04b5076635a9b2950e081690de976f66a32), but the underlying problem when downloading gzipped or deflated content is still there for now.