Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

every index.html code brocken since today #286

Open
kundaliniserp opened this issue Apr 15, 2024 · 5 comments
Open

every index.html code brocken since today #286

kundaliniserp opened this issue Apr 15, 2024 · 5 comments

Comments

@kundaliniserp
Copy link

hello before i downloaded a lot of websites but since today wayback-machine-downloader is no longer working for me. i tried for different timestamps for defferent domains, with and without proxy. whatever i try, instead of working code , in every index.html i get sth like:

<jv �Óìª3ž*="" lny‘="" !µ*&¹˜ØÁ!,Æ”9ˆÀÎËñ´œëºªÇË«ãbr<<Ø݇±�—åy‘wª”þ©þ™wª�dªd5ö�e~="" “ü$[ow�)="" Þ¨üd�wù§�="" d6^i†¡áé`óÕe¡èeß�&t”tÿÌòuÖ�ŸeË}wëÝ="" Ï;�·z÷�þË¿üË_ÿµÓi�Œ–Ê\Á°w:¦Ê<›åßÝ�¤�år¥8˜Æô»[—ÅduöÝdá;Î;øÑn�óbudÓn5Φùw}Õ<a�;^�‹uuÿÉÛ·­l="">i].p€[gŠ�a[w–å¨\UwlKwŠù$ÿÔn�”ÓiyÙnͲO�b–�æ†ZGÓlyšSF5/�‹|uÔéÓ÷…�2KV•z�úÌ{6™Î:jx«¢œ³Îít÷»ûC…ÿÿBü�9+ªVU¬ò–ú·\¬ŠYñY1£¢õYku–·>”Yµj½}öSk1]Ÿ�óÖÅ ×íµ:jÌV‹êèþý+(Ð�—³û—år¢Ð©ªûT´º_åå}$ÂÿúëªXMó‡ýƒÖÇl®�^¶�=õÑiý¼Î§­ñò�þϤXµ&ÿ×íÞððA1[üÏÿ½j-Êõ²uQV­Õ2»ÈÖŸZŠoUÁyy‘­

could someone please give advice? thank you

@gingerbeardman
Copy link

My index files are downloaded and look as I expect them to.

Feel free to post a sample URL where you are seeing this and I'll check.

@ckought
Copy link

ckought commented May 16, 2024

I'm getting this for about a third of the pages that I'm grabbing. No rhyme or reason for what ones are corrupted. It's happening to txt and html files, and probably other file types too (I know some jpg files are getting corrupted, but I'm not sure on css or js or others).

It looks to me like whatever code is being used to strip off the archive.org code at the top is causing it. It's like the code is downloading the page, stripping off the archive.org code, something goes wrong, and then it writes the garbage file to disk thinking the file is just fine.

@ckought
Copy link

ckought commented May 16, 2024

Update:

Been doing some digging, and it looks like every corrupted file, no matter if it's html, txt, jpeg, css, all start with one of these three sets of HEX characters:

1f 8b 08 00 00 00 00 00 00 03
1f 8b 08 00 3f 3f 3f 00
1f 8b 08 00 4f 3f 3f 00

Still not sure what's actually causing the files to corrupt though. It does seem to get worse the longer larger the website is and the therefore the longer the script is running, so that may have something to do with it.

@gingerbeardman
Copy link

gingerbeardman commented May 16, 2024

@ckought I do not see this, so I wonder what version of wayback_machine_downloader are you using and has it been modified in any way?

Use the one in #280 or see this comment #265 (comment)

@ckought
Copy link

ckought commented May 18, 2024

@gingerbeardman That fixed the issue. I've had it running for about 48 hours, with 25K downloads with no corrupted downloads.

The version of wayback_machine_downloader.rb I had been using was the version from the automatic install using "gem install wayback_machine_downloader".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants