Restoring website from WayBack Machine

A friend had a site that went down years ago, and any hope of getting the source code is gone.

What can I do with the URL to that site from a prior year? I want to save the entire site to my disk, in hopes it could be hosted once again.

I am pretty sure it's a simple HTML site with no back-end, so I want the HTML files, the CSS files, the JavaScript file and the Images folder.

What's the easiest was to get this from the WayBack Machine?

Thanks
newbiewebSr. Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Flabio GatesCommented:
Well, the website says they have Wayback Machine APIs. Perhaps one of these can help you get started.
newbiewebSr. Software EngineerAuthor Commented:
If I can navigate to a website in my browser, isn't there way way to pull down all pages, images and javascript pointed to by that single URL?

I don't want to over-think this and start down a rabbit hole before I check for standard tools which I have heard exist for this.

No idea how to do this?
lenamtlCommented:
Hi,

You can try this tool
https://github.com/hartator/wayback-machine-downloader

If there are not much pages you may prefer browse and save them individually and recreate the website.
right click View page source or use chrome dev tool right click Inspect
or from browser save page
Using Notepad++ you can do search and replace for the links...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

newbiewebSr. Software EngineerAuthor Commented:
It's a small website. The File > Save seemed to work fine on the largest page. The images came down as well.

Any big reason to install that tool? I suspect the only linking between the pages would be on the header and footer. But dod these even need to be updated?

It seems like I can simply open each page, open the debugger, then File and Save.

Am i missing anything?
lenamtlCommented:
The tool will be good for large site.
For small site, do it manually will be the best way to do it (the way I suggest in my previous message (page source or inspect with dev tools).

Once you have downloaded all the pages, you will need to check the code and adjust links, images links ...
Also I suggest you to check everything by testing each page  online and validate the web site to make sure everything is fine.
If the web site is older than one year or not responsive (Bootstrap),  you may like to update the template as well.
newbiewebSr. Software EngineerAuthor Commented:
thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.