diff --git a/scrape.py b/scrape.py index c6acd14..f68128e 100644 --- a/scrape.py +++ b/scrape.py @@ -22,7 +22,7 @@ options = webdriver.ChromeOptions() options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', False) -driver = webdriver.Chrome(options=options, executable_path=r"chromedriver.exe") +driver = webdriver.Chrome(options=options) stealth(driver, languages=["en-US", "en"], @@ -246,4 +246,4 @@ for url in set(img_urls): number_of_images_downloaded += 1 time.sleep(25) -driver.quit() \ No newline at end of file +driver.quit()