Closed NateSkiles closed 1 month ago
Playground and Google links do not return any results. Any other search that can be used as an example?
@ocvit I'm seeing this in the Google link still:
Additionally, I'm still seeing results for the query in the playground link:
I'm not sure if the link provided in the response for Google services should work, but running the query I get the following returned:
"google_local_services_url": "https://www.google.com/_/AdsHomeservicesConsumerUi/data/batchexecute?hl=en"
But navigating to that link returns:
I thought this might be expected due to how we scrape the Google Local Services page, but please let me know if not and I can create a separate issue for that.
I found that Local Services API is very sensitive to IP from which you access the page.
Results for U.S.-based data_cid
:
Results for Canada-based data_cid
:
We do not match data_cid
to proxy location, so we can get empty results pretty easily:
Talking about X bookings nearby
- I couldn't generate a page with this field even once:
There are too many variables here. Basically, with current approach we can't guarantee that data we fetch is valid, i.e. it's not just hidden by incorrect proxy that we use. X bookings nearby
is a whole another layer of randomness.
I'm curious is there a way to override country-by-IP detection with some additional search param.
@ocvit Thanks for looking into this! I will add the freezer tag on this for now, as this appears to be much more complicated than I initially assumed.
Feature has been released.
bookings_nearby
field is fetched now + it is correctly rendered in Playground preview.
A user requested we add the "x bookings nearby" text from Google Local Services.
Playground | Google | Documentation
Intercom