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

Go to Store
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.

Developer
Maintained by Community

Actor Metrics

  • 30 Monthly users

  • No reviews yet

  • 6 bookmarks

  • 91% runs succeeded

  • 4.7 hours response time

  • Created in May 2023

  • Modified a month ago

PU

There is an error with one of the results

Closed
puayongxiang opened this issue
a year 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

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