bab
bab

Reputation: 56

Why does Wayback Machine Json API only return empty "archived_snapshots": {} elements?

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&timestamp=20100101

In Python:

request = requests.get('http://archive.org/wayback/available?url=google.com&timestamp=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

Answers (1)

bab
bab

Reputation: 56

Found a solution. Using

http://web.archive.org/wayback/available?url=google.com&timestamp=20100101

adding the web subdomain works just fine.

Upvotes: 3

Related Questions