This file contains hidden or 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 sys | |
from Page import Page | |
import requests | |
import asyncio | |
if len(sys.argv) < 1: | |
print("Please specify keywords. Separate by comma.") | |
sys.exit() | |
else: |
This file contains hidden or 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 selenium import webdriver | |
from time import sleep | |
class Page(object): | |
search_url = "https://web.archive.org/web/*/{}" | |
def __init__(self, search_term): | |
self.search_term = search_term | |