Closed marm123 closed 1 year ago
With @tanys123 we've discovered a reverse-engineered a request for listings.
curl 'https://www.google.com/_/TravelFrontendUi/data/batchexecute?rpcids=Ya3XAc&source-path=%2Ftravel%2Fhotels&f.sid=-1765991039677987353&bl=boq_travel-frontend-ui_20230213.05_p0&hl=en&soc-app=162&soc-platform=1&soc-device=1&_reqid=1736711&rt=c' \
-s \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' \
--data-raw 'f.req=%5B%5B%5B%22Ya3XAc%22%2C%22%5Bnull%2Cnull%2Cnull%2C%5Bnull%2Cnull%2Cnull%2C%5C%22UAH%5C%22%2C%5B%5B2023%2C2%2C17%5D%2C%5B2023%2C2%2C23%5D%2C1%2Cnull%2C0%2Cnull%5D%2Cnull%2C%5B%5D%2C%5B%5D%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2C%5B%5B30.267153%2C-97.7430608%5D%2C%5B31.267153%2C-96.7430608%5D%5D%2Cnull%2Cnull%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2Cnull%2C%5B%5D%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2C%5B%5D%5D%5D%22%2Cnull%2C%22generic%22%5D%5D%5D&at=ADrsKaFjzuRbmaJyLswPcfqXTU-n%3A1676535105809&' \
--compressed
Decoded data contains
Ya3XAc
- Google's RPC IDUAH
- Currency[2023,2,17],[2023,2,23]
- [2023,2,17],[2023,2,23][30.267153,-97.7430608],[31.267153,-96.7430608]
- map boundaries for search[[["Ya3XAc","[null,null,null,[null,null,null,\"UAH\",[[2023,2,17],[2023,2,23],1,null,0,null],null,[],[],null,null,null,null,null,null,null,null,[[30.267153,-97.7430608],[31.267153,-96.7430608]],null,null,null,[],null,null,null,[],null,null,null,[],null,null,null,null,[],null,null,null,null,null,null,null,null,null,null,[]]]",null,"generic"]]]
Question, will the average price also be included in the result?:
Moving from Private to Public Roadmap
We can scrape Google Travel Hotel results. This was requested a few times by our users.
1. We can scrape overall Hotel listings like in the example below: Google Travel Hotel Listing
2. We can also scrape the Hotel details page: Google Travel Hotel Details
Related to https://github.com/serpapi/SerpApi/issues/2408 Related to https://github.com/serpapi/public-roadmap/issues/389