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

RemoteDisconnected #4

Open
Phylanxy opened this issue Feb 28, 2023 · 0 comments
Open

RemoteDisconnected #4

Phylanxy opened this issue Feb 28, 2023 · 0 comments

Comments

@Phylanxy
Copy link

Hi,
I just found this repo and tried applying it to a simple scrape of one restaurant like so:
C:\ProgramData\Anaconda3\python.exe scraper.py -i --url "https://www.tripadvisor.de/Restaurant_Review-g678219-d2267087-Reviews-Gourmetrestaurant_Berlins_Krone-Bad_Teinach_Zavelstein_Baden_Wurttemberg.html"

and I got this as error message:

Traceback (most recent call last):
File "C:\Users\Phylanx\Documents\GitHub\TripAdvisor-Python-Scraper-Restaurants-2021\scraper.py", line 56, in
driver = webdriver.Chrome('chromedriver.exe')
File "C:\ProgramData\Anaconda3\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in init
File "C:\ProgramData\Anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\ProgramData\Anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\ProgramData\Anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\ProgramData\Anaconda3\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 111
Current browser version is 110.0.5481.178 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

PS C:\Users\Phylanx\Documents\GitHub\TripAdvisor-Python-Scraper-Restaurants-2021> C:\ProgramData\Anaconda3\python.exe scraper.py -i --url "https://www.tripadvisor.de/Restaurant_Review-g678219-d2267087-Reviews-Gourmetrestaurant_Berli
ns_Krone-Bad_Teinach_Zavelstein_Baden_Wurttemberg.html"

DevTools listening on ws://127.0.0.1:55325/devtools/browser/7107dc93-5470-46eb-a904-6ef15ea0feca
https://www.tripadvisor.de/Restaurant_Review-g678219-d2267087-Reviews-Gourmetrestaurant_Berlins_Krone-Bad_Teinach_Zavelstein_Baden_Wurttemberg.html
https://www.tripadvisor.de/Restaurant_Review-g678219-d2267087-Reviews-Gourmetrestaurant_Berlins_Krone-Bad_Teinach_Zavelstein_Baden_Wurttemberg.html
[11252:7736:0228/170139.086:ERROR:device_event_log_impl.cc(218)] [17:01:39.086] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: Ein an das System angeschlossenes Gerõt funktioniert nicht. (0x1F)
[11252:7736:0228/170139.088:ERROR:device_event_log_impl.cc(218)] [17:01:39.088] USB: usb_device_handle_win.cc:1046 Failed to read descriptor from node connection: Ein an das System angeschlossenes Gerõt funktioniert nicht. (0x1F)
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1377, in getresponse
response.begin()
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 320, in begin
version, status, reason = self._read_status()
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 289, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

Any idea how to fix this?

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

1 participant