You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the script while sorting by most relevant returns the following:
(sorting by newest, highest score and lowest score works normally)
Traceback (most recent call last):
File "%BASE_DIR%\googlemaps-scraper\scraper.py", line 63, in
reviews = scraper.get_reviews(n)
^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\googlemaps-scraper\googlemaps.py", line 132, in get_reviews
self.__scroll()
File "%BASE_DIR%\googlemaps-scraper\googlemaps.py", line 340, in __scroll
scrollable_div = self.driver.find_element(By.CSS_SELECTOR,'div.m6QErb.DxyBCb.kA9KIf.dS8AEf')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 741, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"div.m6QErb.DxyBCb.kA9KIf.dS8AEf"}
(Session info: chrome=130.0.6723.117); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
GetHandleVerifier [0x00007FF74FD238A5+3004357]
(No symbol) [0x00007FF74F9B9970]
(No symbol) [0x00007FF74F86582A]
(No symbol) [0x00007FF74F8B5B8E]
(No symbol) [0x00007FF74F8B5E7C]
(No symbol) [0x00007FF74F8FEC27]
(No symbol) [0x00007FF74F8DBC1F]
(No symbol) [0x00007FF74F8FBA4C]
(No symbol) [0x00007FF74F8DB983]
(No symbol) [0x00007FF74F8A7628]
(No symbol) [0x00007FF74F8A8791]
GetHandleVerifier [0x00007FF74FD4A00D+3161901]
GetHandleVerifier [0x00007FF74FD9E060+3506048]
GetHandleVerifier [0x00007FF74FD9400D+3465005]
GetHandleVerifier [0x00007FF74FB10EEB+830987]
(No symbol) [0x00007FF74F9C467F]
(No symbol) [0x00007FF74F9C09D4]
(No symbol) [0x00007FF74F9C0B6D]
(No symbol) [0x00007FF74F9B0149]
BaseThreadInitThunk [0x00007FFF1CFC7374+20]
RtlUserThreadStart [0x00007FFF1EBBCC91+33]
The text was updated successfully, but these errors were encountered:
Running the script while sorting by most relevant returns the following:
(sorting by newest, highest score and lowest score works normally)
Traceback (most recent call last):
File "%BASE_DIR%\googlemaps-scraper\scraper.py", line 63, in
reviews = scraper.get_reviews(n)
^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\googlemaps-scraper\googlemaps.py", line 132, in get_reviews
self.__scroll()
File "%BASE_DIR%\googlemaps-scraper\googlemaps.py", line 340, in __scroll
scrollable_div = self.driver.find_element(By.CSS_SELECTOR,'div.m6QErb.DxyBCb.kA9KIf.dS8AEf')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 741, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "%BASE_DIR%\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"div.m6QErb.DxyBCb.kA9KIf.dS8AEf"}
(Session info: chrome=130.0.6723.117); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
GetHandleVerifier [0x00007FF74FD238A5+3004357]
(No symbol) [0x00007FF74F9B9970]
(No symbol) [0x00007FF74F86582A]
(No symbol) [0x00007FF74F8B5B8E]
(No symbol) [0x00007FF74F8B5E7C]
(No symbol) [0x00007FF74F8FEC27]
(No symbol) [0x00007FF74F8DBC1F]
(No symbol) [0x00007FF74F8FBA4C]
(No symbol) [0x00007FF74F8DB983]
(No symbol) [0x00007FF74F8A7628]
(No symbol) [0x00007FF74F8A8791]
GetHandleVerifier [0x00007FF74FD4A00D+3161901]
GetHandleVerifier [0x00007FF74FD9E060+3506048]
GetHandleVerifier [0x00007FF74FD9400D+3465005]
GetHandleVerifier [0x00007FF74FB10EEB+830987]
(No symbol) [0x00007FF74F9C467F]
(No symbol) [0x00007FF74F9C09D4]
(No symbol) [0x00007FF74F9C0B6D]
(No symbol) [0x00007FF74F9B0149]
BaseThreadInitThunk [0x00007FFF1CFC7374+20]
RtlUserThreadStart [0x00007FFF1EBBCC91+33]
The text was updated successfully, but these errors were encountered: