Closed alexbarron closed 4 days ago
I'm not sure I am able to replicate this (unless I am misunderstanding). The Playground example provided has the order_online_link
under place_results
:
"order_online_link": "https://food.google.com/chooseprovider?restaurantId=/g/1hc7n5gff&g2lbs=AOHF13kZ0YbwZ4iaezQQyGL2CfMOcfRBrnUTCICrDQmN0Bg0ILkW7YygChy0_1fTpLT7ybPrFEIuE6oTKsVN9kujNqYkTrL5eQ%3D%3D&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=e-oPZ4b7L-WMwbkP4_OhqAQ&ei=e-oPZ4b7L-WMwbkP4_OhqAQ&fo_s=OA,SOE&opi=79508299&foub=mcpp",
cc. @alexbarron
I'm not sure I am able to replicate this (unless I am misunderstanding). The Playground example provided has the
order_online_link
underplace_results
:"order_online_link": "https://food.google.com/chooseprovider?restaurantId=/g/1hc7n5gff&g2lbs=AOHF13kZ0YbwZ4iaezQQyGL2CfMOcfRBrnUTCICrDQmN0Bg0ILkW7YygChy0_1fTpLT7ybPrFEIuE6oTKsVN9kujNqYkTrL5eQ%3D%3D&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=e-oPZ4b7L-WMwbkP4_OhqAQ&ei=e-oPZ4b7L-WMwbkP4_OhqAQ&fo_s=OA,SOE&opi=79508299&foub=mcpp",
cc. @alexbarron
@btaunt Thanks for looking into this. I also can't reproduce it anymore.
Here's the inspect link for the search where I encountered the issue: https://serpapi.com/searches/670e4d1281bab78cc8c357ee/inspect
Anything jump out there as being different than our more recent attempts?
@alexbarron
Anything jump out there as being different than our more recent attempts?
It seems as though the entire order_online
"button" (along with its parent element) were never present in that initial inspect link example. My assumption would be that Google simply didn't render it, but maybe we should keep an eye out in the future (layout updates, separate requests needed?)
@btaunt Yeah perhaps it was just a blip. I'll close this for now, but we'll reopen it if we come across the issue again. Thank you for your investigation.
No need to follow up with customers since this only came up while I was investigating a customer's request for the Google Food link contents the Order Online button takes you to.
We scrape the order online link for Google Maps search
local_results
(related: https://github.com/serpapi/public-roadmap/issues/897), but not when the results are a single business asplace_results
.Actual Google Maps:
Our result:
Public links: Playground 1 | Google Maps
Internal links: Intercom | Inspect