hartator / wayback-machine-downloader

Download an entire website from the Wayback Machine.
Other
5.36k stars 713 forks source link

I found garbled code files after downloading the entire website! #265

Closed intercoop closed 1 year ago

intercoop commented 1 year ago

I found some websites experiencing garbled code after downloading,Like this website: http://www.sumw.com, I run commands:wayback_machine_downloader http://www.sumw.cn -t 20220524143751-a

The result of running on the linux system is as follows: ttt

Then,All the files I received were garbled,I don't know why this encoding went wrong,Thank you for your attention to this issue

pattasrinivasvarma commented 1 year ago

Yes, ive been facing the since couple of days. Its downloading gibberish sometimes

nicholascc commented 1 year ago

This is the same issue as #259 and has been fixed in pull request #262. Similarly, I've fixed #264 in pull request #266. Both of these issues leave the tool broken, so if you want a quick fix for both just replace the wayback_machine_downloader.rb file with this gist (which is basically just a combination of #262 and #266).

@hartator your tool is currently broken because of these issues, so could you please merge #262 and #266 to get it working again?