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

How to use this tool to look at local version of files, not the web version??

Open DeepYogurt opened this issue 3 years ago • 3 comments

Was wondering if it was possible to use this program to dynamically alter the code so that all references to the website would open files on the local computer rather than try to get from the website.

In my case I'm trying to download a version of a website for a site that is no longer maintained with the former content. Basically trying to get at the website content as it existed back in 2015, not as it is today.

This tool seems to be awesome at getting an old snapshot of the website from the WayBack machine, but the HTML code pages are referring to the website not the files stored on my local computer now.

Would it be as simple as putting an entry in my local /etc/hosts file for the former domain to just point to the localhost IP address of 127.0.0.1 and "fool" things into opening the files on my local disk?

Thanks again for such a cool tool...

-bob

DeepYogurt avatar Jun 23 '22 20:06 DeepYogurt

Hey Bob,

The easiest way to do what you're describing would be a search & replace. There are other ways too. Maybe write the site here or send me an e-mail with it and I'll have a look

wsdookadr avatar Jun 26 '22 00:06 wsdookadr

This is a duplicate of #26, which has a workaround at the end for Linux.

nealmcb avatar Oct 09 '22 22:10 nealmcb

Hm, seems like a pretty important feature (it's built into wget --convert-links, for example).

mmontag avatar Apr 10 '23 02:04 mmontag