Update wayback.py

This commit is contained in:
Namhyeon Go 2024-03-13 16:16:46 +09:00 committed by GitHub
parent 33f924d441
commit b87586af6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,7 @@ try:
except Exception as e:
print ("[*] Invaild configration: %s" % (str(e)))
# API documentation: https://archive.org/help/wayback_api.php
def get_previous_page_content(url):
# Wayback Machine API URL
wayback_api_url = "http://archive.org/wayback/available?url=" + url