Replies: 1 comment
-
Released a fix, Please follow these Steps. Clone the Magic 🧙♀:
Install Dependencies 📦:
Let the Rain of Google Map Leads Begin 😎:
And Run the following command to update packages:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to ask for help. I ran the main.py application and an error appeared like this:
Running
DevTools listening on ws://127.0.0.1:50075/devtools/browser/9bb152b1-9e74-431a-89bf-3b9deb700b55
[2988:1884:1201/170018.034:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: Requested GLES version (3.0) is greater than max supported (2, 0).
[2988:1884:1201/170018.048:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: Requested GLES version (3.0) is greater than max supported (2, 0).
Traceback (most recent call last):
File "C:\Users\toni\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus\decorators.py", line 284, in run_task
result = func(driver, data)
^^^^^^^^^^^^^^^^^^
File "C:\Users\toni\Downloads\google-maps-scraper-master\google-maps-scraper-master\src\scraper.py", line 261, in scrape_places
retry_if_is_error(put_links, [StaleElementReferenceException, StuckInGmapsException], RETRIES, raise_exception=False, on_failed_after_retry_exhausted=on_failed_after_retry_exhausted)
TypeError: retry_if_is_error() got an unexpected keyword argument 'raise_exception'
Task failed with data: {'query': 'hotel in bangalore', 'is_spending_on_ads': False, 'max': None, 'lang': None, 'geo_coordinates': None, 'zoom': None}
Traceback (most recent call last):
File "C:\Users\toni\Downloads\google-maps-scraper-master\google-maps-scraper-master\main.py", line 5, in
Gmaps.places(queries)
File "C:\Users\toni\Downloads\google-maps-scraper-master\google-maps-scraper-master\src\gmaps.py", line 318, in places
result_item = process_result(min_reviews, max_reviews, category_in, has_website, has_phone, min_rating, max_rating, sort, key, scrape_reviews, reviews_max, reviews_sort, fields, lang, should_scrape_socials, places_obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\toni\Downloads\google-maps-scraper-master\google-maps-scraper-master\src\gmaps.py", line 179, in process_result
places = places_obj["places"]
~~~~~~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Please help
Beta Was this translation helpful? Give feedback.
All reactions