PyQuarX commited on
Commit
659aea7
·
verified ·
1 Parent(s): bf7ff08

Update scraper.py

Browse files
Files changed (1) hide show
  1. scraper.py +3 -0
scraper.py CHANGED
@@ -9,6 +9,9 @@ def scrape_website(website):
9
  chrome_driver_path = "/usr/bin/chromedriver"
10
  options = webdriver.ChromeOptions()
11
  driver = webdriver.Chrome(service=Service(chrome_driver_path, options=options))
 
 
 
12
 
13
 
14
  try:
 
9
  chrome_driver_path = "/usr/bin/chromedriver"
10
  options = webdriver.ChromeOptions()
11
  driver = webdriver.Chrome(service=Service(chrome_driver_path, options=options))
12
+
13
+ options.add_argument("--user-data-dir=/tmp/chrome-user-data")
14
+
15
 
16
 
17
  try: