Tootfinder

Opt-in global Mastodon full text search. Join the index!

@scottmiller42@mstdn.social
2026-03-26 14:50:28

I should check to make sure this Turnip executive order has been archived in the Wayback Machine...
"Saved 641 times between February 5, 2025 and March 25, 2026."
*nods* Good job, Internet Archive.
#InternetArchive #WaybackMachine

@awinkler@openbiblio.social
2026-02-13 10:11:28

As it's been surprisingly hard to find this info, here's a short how-to to save urls in the #waybackmachine @… programmatically via script (if you've got a list of urls).
1) Get your API-Keys:

import requests

def saveUrl(url):
    baseurl = "https://web.archive.org/save"
    headers = {
        "Accept": "application/json",
        "Authorization": "LOW access_key:secret_key" # obtained from https://archive.org/account/s3.php
    }
    data = {'url': url}

    response = requests.post(baseurl, headers=headers, data=data)
    return response