Add initialisation messages
This commit is contained in:
parent
8241702fb1
commit
65c92026d9
@ -18,6 +18,8 @@ from bs4 import BeautifulSoup
|
|||||||
|
|
||||||
graph = nx.DiGraph()
|
graph = nx.DiGraph()
|
||||||
|
|
||||||
|
print('NetworkX initialised')
|
||||||
|
|
||||||
##### Set up WebDriver with Chrome ##########################
|
##### Set up WebDriver with Chrome ##########################
|
||||||
|
|
||||||
chrome_options = Options()
|
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)
|
driver = webdriver.Chrome(executable_path=CHROMEDRIVER_PATH, chrome_options=chrome_options)
|
||||||
|
|
||||||
|
print('WebDriver initialised')
|
||||||
|
|
||||||
##### Do stuff ##############################################
|
##### Do stuff ##############################################
|
||||||
|
|
||||||
username = soup.find(class_='profileHeaderInfo__userName')
|
username = soup.find(class_='profileHeaderInfo__userName')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user