Last active
May 12, 2020 13:44
-
-
Save edsu/6a8844c12f0abeb91a3baf4b075a78e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
resp = requests.get('https://web.archive.org.au/awa/http://www.nla.gov.au/', allow_redirects=False) | |
print({rel: resp.links[rel]['url'] for rel in resp.links.keys()}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment