wayback-machine-downloader icon indicating copy to clipboard operation
wayback-machine-downloader copied to clipboard

Decompress gzip content

Open Forage opened this issue 1 year ago • 8 comments

WBM is applying compression. "gzip;q=0, identity" as accepted-encoding is being ignored, so decompressing retrieved content. Fixes #259.

Forage avatar Oct 11 '23 13:10 Forage

when using this, file urls won't be decoded...

grandpa1946 avatar Oct 20 '23 16:10 grandpa1946

@grandpa1946 do you have an example?

Forage avatar Oct 20 '23 16:10 Forage

@grandpa1946 do you have an example?

sorry, i think it has to do with the windows naming scheme...

grandpa1946 avatar Oct 21 '23 14:10 grandpa1946

it's kinda annoying because urls will be double encoded, but i can't do anything about that ofcourse

grandpa1946 avatar Oct 23 '23 19:10 grandpa1946

So there is or isn't an issue? If there is, please provide an example because it's working nicely for me.

Forage avatar Oct 23 '23 19:10 Forage

So there is or isn't an issue? If there is, please provide an example because it's working nicely for me.

i don't think there is, because i think it has the same results as the previous version, sorry that i let you wait.

grandpa1946 avatar Oct 25 '23 17:10 grandpa1946

Hello, I just tested this wonderful patch and I confirm that it works on ubuntu. Thank you a thousand times! :))) 👍

VioletFlare avatar Dec 02 '23 22:12 VioletFlare

This PR would become redundant if https://github.com/hartator/wayback-machine-downloader/issues/267#issuecomment-1868090089 is integrated into the code, as Net::HTTP decompresses automagically.

Forage avatar Jan 10 '24 14:01 Forage