Spaces:
Runtime error
Runtime error
Update scraper.py
Browse files- scraper.py +1 -1
scraper.py
CHANGED
@@ -72,7 +72,7 @@ def initialize_driver():
|
|
72 |
)
|
73 |
|
74 |
# webdriver-manager will download the correct ChromeDriver version
|
75 |
-
service = Service(ChromeDriverManager().install())
|
76 |
driver = webdriver.Chrome(service=service, options=options)
|
77 |
return driver
|
78 |
|
|
|
72 |
)
|
73 |
|
74 |
# webdriver-manager will download the correct ChromeDriver version
|
75 |
+
service = Service(ChromeDriverManager(path="/tmp/.wdm").install())
|
76 |
driver = webdriver.Chrome(service=service, options=options)
|
77 |
return driver
|
78 |
|