4a12daccfc38b92fb9aa5c15aeea1d232bdd8f6f
waybackpy
The waybackpy is python wrapper for Internet Archive 's Wayback Machine.
Usage
Capturing/Saving a url/website. Using save() function.
waybackpy.save(url, UA=user_agent)
import waybackpy
# Capturing a new archive on wayback machine.
# Default user-agent (UA) is "waybackpy python package", if not specified in the call.
archived_url = waybackpy.save("https://github.com/akamhy/waybackpy", UA = "Any-User-Agent")
print(archived_url)
This should print something similar to the following archived url:
https://web.archive.org/web/20200504141153/https://github.com/akamhy/waybackpy
Description
Fork of https://github.com/akamhy/waybackpy
Wayback Machine API interface & a command-line tool
archive-webpagearchive-webpagescdx-apiinternet-archiveinternet-archivingosintsavepagenowwayback-machinewayback-machine-apiwayback-machine-pythonweb-archivingwebarchiving
Readme
1.1 MiB
Languages
Python
100%