Google Maps Scraper avatar
Google Maps Scraper
Try for free

1 day trial then $25.00/month - No credit card required now

View all Actors
Google Maps Scraper

Google Maps Scraper

onidivo/google-maps-scraper
Try for free

1 day trial then $25.00/month - No credit card required now

Obtain more significant and quicker amounts of data from Google Maps compared to what is available through the official Google Places API.

TC

Run Results is Not in the Same Sequence as my Input.

Closed

tony_crighton opened this issue
6 months ago

I entered 11 Google Maps URLS into the actor and the actor ran successfully. However, the results were not displayed in the same sequence as I entered into the run.

As an example, the sequence of the business names I entered were: (Note: I entered the business URLs, not thier names)

  1. Upbeat Occasions
  2. Fresh Play Entertainment
  3. Stereospinology L.L.C. Your Mobile DJ!
  4. DJ Kenny Casanova
  5. C. W. Whalen & Sons
  6. Giuliano's Premier Party Rental & Catering
  7. Mugzy's Magic Party Rentals
  8. UpState Inflatables
  9. Upstate Tents and Events
  10. Shye's Creations
  11. Bounce Town Rentals

The sequence of the run results are given here:

  1. DJ Kenny Casanova
  2. DJ Zac Barr
  3. Uforia Entertainment
  4. Superfly Sounds
  5. Giuliano's Premier Party Rental & Catering
  6. C. W. Whalen & Sons
  7. Upstate Tents and Events
  8. UpState Inflatables
  9. Mugzy's Magic Party Rentals
  10. Shye's Creations
  11. Train Time Express

You see that the output result sequence does not follow the input sequence. For example: #4 in the input is #1 in the output #9 in the input is #7 in the output etc. etc.

And in some cases, the run output gives results that were not in the input. For example, #11 and #3 from the output were not provided in the input. (And yes, I checked the live URL of these 2 examples and the businesses have not changed their names.)

So my question is; is there a way I can ensure that the output sequence that is given after a successful run is exactly the same sequence as the input I gave?

onidivo avatar

First, you must put the URLs in the input field Google Maps URLs (in the General configuration section).

As for the output order/sequence, it's not preserved because some requests may fail at the start and then succeed in the end. You can always consider the provided URL as a unique key for your result and reorder the results based on that.

Developer
Maintained by Community
Actor metrics
  • 17 monthly users
  • 2 stars
  • 94.4% runs succeeded
  • Created in Feb 2024
  • Modified 4 months ago