How to scrape expired content from archive.org?

PeterPerseo

Senior Member
Joined
Jun 22, 2013
Messages
1,076
Reaction score
454
I have to scrape an expired website with thousands of pages, so some paid online tools I've found are too much expensive for that quantity of urls.

I know there is a free opensource script on GitHub, here https://github.com/hartator/wayback-machine-downloader but it requires some coding that I'm not able to do.

Does anyone know any free tool, or any bot made with that script above, good to download this type (and quantity!) of content (text,photos,html,etc)?

Thanks
 
You can have a custom scraper bot made for you here, freelancer, upwork, etc
 
The hartator one is the best one i have tried, even better than the PHP one i coded lol, it keeps the site structure intact.
 
I know it, if you read my OP I mentioned just that. Anyway it seems not easy, it need some coding

I would say that you should hire someone to do the job for you. This is really a basic program/script and if you can't figure out how to use it, there is probably nothing out there that will help you do what you need. I am not meaning this to be insulting. I researched a bit last night for a similar thing, and basically EVERYONE recommends this github script. Lucky for me I found a backup of the site I needed on my old PC, but that isn't an option for you, so either learning this script or hiring someone else to do it is your best choice. Learning basic script programming is a great skill in your life too! I would guess someone would do this for under $10 USD.
 
here you go https://www.blackhatworld.com/seo/domrecovery-resurrect-websites-from-wayback-machine.842968/
 
I just did this on an Acer notebook running Windows 10. Real easy anyone can do it. Here's how I did it:

1. Download Linux Mint and mount to an 8 gig USB stick with Rufus
2. Turn on the notebook and immediately press F12 to be able to select the USB to boot from (if this doesn't work you may have to go into BIOS and disable safe mode).
3. Once it loads up, connect to the WiFi go to that github page for instructions
4. First you have to install Ruby so open a terminal window and type: sudo apt-get install ruby
5. Then install the Wayback Machine Downloader, type: gem install wayback_machine_downloader
6. Now just type: wayback_machine_downloader http://example.com

That's it. Most of the websites pages and files will be downloaded into a folder in your home directory. You can pop in another USB stick and transfer them there.
 
.... Here's how I did it:
1. Download Linux Mint and mount to an 8 gig USB stick with Rufus
2. Turn on the notebook and immediately press F12 to be able to select the USB to boot from (if this doesn't work you may have to go into BIOS and disable safe mode).
3. Once it loads up, connect .....
WOW!! Thanks a lot, it's a fantastic help! I will try now!! :):)
 
This works well. It does sites up to 200 urls free, and their pricing for huge sites isn't that bad.
https://en.archivarix.com/
Well, I tried it and the quote for the website I want to download was.... a couple of THOUSAND dollars :D:eek:o_O

By the way I started to use the free script on GitHub, and I'm downloading the website since... a couple of days! It still has not finished! :cool:
 
I'm downloading the website since... a couple of days! It still has not finished!

Next time use concurrency attribute to download more than 1 pages at a time, because by default is 1 page at a time.
 
Last edited:
Next time use concurrency attribute to download more than 1 pages at a time, because by default is 1 page at a time.
Right! I didn't know the site was soooo big! I will test it now, 'cos I had to stop the previous download (too large!).
Thanks!

... some parts broken but if you match the folder structure of the original you can get the old images to work still. You can import the pages to WordPress with this plugin https://wordpress.org/plugins/import-html-pages/

Yes, the broken part is also my problem, I will see if it's possible to fix it.
Thanks for the tip of the WP plugin, I didn't know it! ;)
 
Back
Top