Google search Parser google maps / my business avatar
Google search Parser google maps / my business
Try for free

3 days trial then $25.00/month - No credit card required now

View all Actors
Google search Parser google maps / my business

Google search Parser google maps / my business

saswave/google-search-parser-google-maps-my-business
Try for free

3 days trial then $25.00/month - No credit card required now

Extract company infos from google search results, right side box (website, phone number, reviews, social accounts, address..) Allows you to automate enrichment using queries with a combination of company name, website domain and street address (complete or partial). Check readme for some exemples.

PU

There is an error with one of the results

Closed

puayongxiang opened this issue
4 months ago

2024-03-16T06:47:37.028Z reviews ['Neighbourhood in Singapore'] 2024-03-16T06:47:37.029Z ERROR Actor failed with an exception 2024-03-16T06:47:37.031Z Traceback (most recent call last): 2024-03-16T06:47:37.033Z File "/usr/src/app/src/main.py", line 152, in main 2024-03-16T06:47:37.034Z obj = await parse_html_complementary(html_complementary, elem['searchQuery']['term']) 2024-03-16T06:47:37.036Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-03-16T06:47:37.038Z File "/usr/src/app/src/main.py", line 88, in parse_html_complementary 2024-03-16T06:47:37.039Z "total_reviews": re.search('[0-9]*', reviews[1].encode("ascii", "ignore").decode()).group() if reviews and ("avis google" in reviews[1].lower() or "google reviews" in reviews[1].lower()) else "", 2024-03-16T06:47:37.047Z ~~~~~~~^^^ 2024-03-16T06:47:37.049Z IndexError: list index out of range 2024-03-16T06:47:37.050Z INFO Exiting actor ({"exit_code": 91})

saswave avatar

SASWAVE (saswave)

4 months ago

I wrapped the error to not stop the process , can you provide your input so that i can make more test for better error handling

Developer
Maintained by Community
Actor metrics
  • 96 monthly users
  • 3 stars
  • 92.2% runs succeeded
  • Created in May 2023
  • Modified 4 months ago