Reputation: 56
I am trying to use the Wayback Machine Json API to get the links to archived websites. But when I use it as described on their website 1, for instance using this URL:
http://archive.org/wayback/available?url=google.com×tamp=20100101
In Python:
request = requests.get('http://archive.org/wayback/available?url=google.com×tamp=20100101')
print(request.text)
Results in this:
{"timestamp": "20100101", "archived_snapshots": {}, "url": "google.com"}
Am I doing something wrong? Thank you very much for your help!
Upvotes: 0
Views: 3261
Reputation: 56
Found a solution. Using
http://web.archive.org/wayback/available?url=google.com×tamp=20100101
adding the web subdomain works just fine.
Upvotes: 3