Last active
January 5, 2021 04:00
-
-
Save akamhy/bcfa08659a9aae335542cae31bc0c9be to your computer and use it in GitHub Desktop.
Cdx Pagination API, wildcard search
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
from waybackpy import Cdx # waybackpy >= 2.3.3 | |
url = "https://www8.gsb.columbia.edu/cbs-directory/detail/*" | |
user_agent = "Your-apps-user-agent" | |
cdx = Cdx(url=url, user_agent=user_agent) | |
snapshots = cdx.snapshots() | |
for snapshot in snapshots: | |
print(snapshot.archive_url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment