Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run #7

Open
Kashish001 opened this issue Sep 22, 2020 · 1 comment
Open

Unable to run #7

Kashish001 opened this issue Sep 22, 2020 · 1 comment

Comments

@Kashish001
Copy link

Scraper-master\scrape.py:31: DeprecationWarning: use options instead of chrome_options
driver = webdriver.Chrome(executable_path=r'./chromedriver', chrome_options=opts)
Traceback (most recent call last):
File "c:\Users\user\Downloads\LeetcodeCompanyScraper-master\LeetcodeCompanyScraper-master\scrape.py", line 111, in
main()
File "c:\Users\user\Downloads\LeetcodeCompanyScraper-master\LeetcodeCompanyScraper-master\scrape.py", line 31, in main
driver = webdriver.Chrome(executable_path=r'./chromedriver', chrome_options=opts)
File "C:\Users\userra\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\userutable, preexec_fn, close_fds,
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application

@HackrHIVE
Copy link

Chromedriver may be out of date. Latest versions, and those specific to your operating system can be found at https://sites.google.com/a/chromium.org/chromedriver/

Download from there and replace with chromedriver in your directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants