diff --git a/scrape.py b/scrape.py index 6a7c5bb..31a8aa4 100755 --- a/scrape.py +++ b/scrape.py @@ -18,6 +18,8 @@ from bs4 import BeautifulSoup graph = nx.DiGraph() +print('NetworkX initialised') + ##### Set up WebDriver with Chrome ########################## chrome_options = Options() @@ -25,6 +27,8 @@ chrome_options.add_argument('--headless') # Start headless so we can run on a se driver = webdriver.Chrome(executable_path=CHROMEDRIVER_PATH, chrome_options=chrome_options) +print('WebDriver initialised') + ##### Do stuff ############################################## username = soup.find(class_='profileHeaderInfo__userName')