Spaces:
Paused
Paused
Update scraper.py
Browse files- scraper.py +2 -2
scraper.py
CHANGED
|
@@ -6,8 +6,8 @@ import os
|
|
| 6 |
def scrape_website(website):
|
| 7 |
print("Launching chrome browser...")
|
| 8 |
|
| 9 |
-
chrome_driver_path = "chromedriver"
|
| 10 |
-
chrome_binary_path = "chromium-browser"
|
| 11 |
|
| 12 |
if not os.path.exists(chrome_driver_path):
|
| 13 |
raise FileNotFoundError(f"Chromedriver not found at {chrome_driver_path}")
|
|
|
|
| 6 |
def scrape_website(website):
|
| 7 |
print("Launching chrome browser...")
|
| 8 |
|
| 9 |
+
chrome_driver_path = "../chromedriver"
|
| 10 |
+
chrome_binary_path = "../chromium-browser"
|
| 11 |
|
| 12 |
if not os.path.exists(chrome_driver_path):
|
| 13 |
raise FileNotFoundError(f"Chromedriver not found at {chrome_driver_path}")
|