To archive a webpage in the Internet Archive's Wayback Machine, I usually do:
wget --spider 'https://web.archive.org/save/https://example.com'
Is there a similar method that I can use to archive web pages to archive.today?
archive.todayarchiving
To archive a webpage in the Internet Archive's Wayback Machine, I usually do:
wget --spider 'https://web.archive.org/save/https://example.com'
Is there a similar method that I can use to archive web pages to archive.today?
Best Answer
I've analyzed the request of manually saving a file (Firefox' developer tools have a handy 'Copy as cURL' function for this - see the bottom of the post for the actual request). It includes a lot of fluff (user agent, cookies, origin, etc.) which can be omitted, and escaping the slashes in the URL also isn't necessary. Simply executing
is already sufficient to archive your profile page. Initially, the response was some HTML containing a 'work in progress' link: https://archive.vn/wip/dk2xB which you can use to monitor the progress and/or as a final link.
Now that I try it again, a couple of hours later, I don't get HTML as response but a HTTP 302 (Found) with the final URL in the Location header: https://archive.vn/dk2xB.
This is how the archived page looks like:
The original cURL request is