-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Linux] Web-driver exits unexpectedly using CustomGoogleScholarOrganic() #7
Comments
@Doloroy thank you for opening this issue 👍 Could you mention:
|
Thank you @dimitryzub
|
@Doloroy thank you 👍 My assumption is that it is related to the Linux system. I've only tested and written this parser on Windows and haven't tested it on Linux. I think that extra dependencies are required to run the $ apt-get install -y libglib2.0-0 libnss3 libgconf-2-4 libfontconfig1 Ref: Let me know if it helped, or didn't 👍 |
Thanks! Errors have been resolved. |
@Doloroy Wonderful. Thank you for sharing this experience. I've updated README for Linux users 🙂 Let me know if you have any usability issues or something else. |
Traceback (most recent call last):
File "/mnt/c/Users/enarevbd/Documents/scraping_files/scrape-google-scholar-py/first_query.py", line 9, in
custom_parser_get_organic_results = CustomGoogleScholarOrganic().scrape_google_scholar_organic_results(
File "/mnt/c/Users/enarevbd/Documents/scraping_files/scrape-google-scholar-py/google_scholar_py/custom_backend/organic_search.py", line 122, in scrape_google_scholar_organic_results
driver = webdriver.Chrome(service=service, options=options)
File "/home/doloroy/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 80, in init
super().init(
File "/home/doloroy/.local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 101, in init
self.service.start()
File "/home/doloroy/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 104, in start
self.assert_process_still_running()
File "/home/doloroy/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 117, in assert_process_still_running
raise WebDriverException(f"Service {self.path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service /home/doloroy/.wdm/drivers/chromedriver/linux64/112.0.5615/chromedriver unexpectedly exited. Status code was: 127
The text was updated successfully, but these errors were encountered: