mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-11-27 18:10:40 +00:00
Update wayback.py
This commit is contained in:
parent
33f924d441
commit
b87586af6c
|
|
@ -19,6 +19,7 @@ try:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print ("[*] Invaild configration: %s" % (str(e)))
|
print ("[*] Invaild configration: %s" % (str(e)))
|
||||||
|
|
||||||
|
# API documentation: https://archive.org/help/wayback_api.php
|
||||||
def get_previous_page_content(url):
|
def get_previous_page_content(url):
|
||||||
# Wayback Machine API URL
|
# Wayback Machine API URL
|
||||||
wayback_api_url = "http://archive.org/wayback/available?url=" + url
|
wayback_api_url = "http://archive.org/wayback/available?url=" + url
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user