Tripadvisor Scraper avatar
Tripadvisor Scraper
Try for free

Pay $3.00 for 1,000 results

View all Actors
Tripadvisor Scraper

Tripadvisor Scraper

maxcopell/tripadvisor
Try for free

Pay $3.00 for 1,000 results

This unofficial Tripadvisor API is a data extraction tool able to get data on hotels, restaurants, things to do, vacation rentals, attractions, tours, and public trips. Get pricing, contact details, amenities, awards, ratings, and more. Download your data in Excel, JSON, CSV, and other formats.

Do you want to learn more about this Actor?

Get a demo
BP

Field request: online order links

Closed

buddy_props opened this issue
2 months ago

Tripadvisor restaurant listings are now including online order links for many places. It'd be great to have an object of all the online order URLs for the place in the scrape results.

This is an example of a place with multiple online order links: https://www.tripadvisor.com/Restaurant_Review-g60763-d9733711-Reviews-Souvlaki_GR_Midtown-New_York_City_New_York.html

lhotanok avatar

Hi, thanks for reaching out, we can add online order links to the scraper.

Just note that we'll only be able to provide you with the links in the following format (available directly on the Tripadvisor's website): https://www.tripadvisor.com/Commerce?p=Delivery_ChowNow&src=183790465&geo=9733711&from=Restaurant_Review&area=reservation_button&slot=1&matchID=1&oos=0&cnt=1&silo=38060&bucket=934910&nrank=1&crank=1&clt=R&ttype=Restaurant&tm=300613445&managed=false&capped=false&gosox=6E4khh0HtNXAL0epq-JuBJi9Hu4KwZkBcTYaPAKPcvyzRzJ-mgpAaP0IUqC44bubNGi9I6nuBPmXmunT2F7Y2SXelsYMRZkTGDNTSH2G_-0&cs=19ba839a07fe57aa7ac0948e47c4c0b68

When you click on the above link, it is redirected to: https://direct.chownow.com/order/1779/locations/10628?cn_channel=cn_tripadvisor&utm_source=cn_tripadvisor&TAHotelCode=10628

Our scraper would have to make an extra request for each order link only to get the after-redirection link. That would increase overall expenses, so we don't want to go in this direction.

BP

buddy_props

2 months ago

Understood. Thrilled you'll be able to capture the online order links.

lhotanok avatar

Hello, we have just published a new version of the Actor that supports extraction of online order links 🙂 You can take a look at the example run: https://console.apify.com/view/runs/g2Z2s2ouhOTNtuQEQ

There's a new output field orderOnline which is an array of objects such as:

1{
2  "orderOnline": [
3    {
4      "providerType": "DELIVERY",
5      "canProvideTimeslots": false,
6      "buttonText": "Order online",
7      "offerURL": "https://www.tripadvisor.com/Commerce?p=Delivery_ChowNow&src=183790465&geo=9733711&from=Restaurant_Review&area=reservation_button&slot=1&matchID=1&oos=0&cnt=1&silo=38060&bucket=934910&nrank=1&crank=1&clt=R&ttype=Restaurant&tm=304083551&managed=false&capped=false&gosox=6E4khh0HtNXAL0epq-JuBJi9Hu4KwZkBcTYaPAKPcvyzRzJ-mgpAaP0IUqC44bubNGi9I6nuBPmXmunT2F7Y2REuBhX1hFmjI5VUuRyiAeo&cs=1c50db0258bf82b44b0d79e0da35feb62_14q",
8      "logoUrl": "https://static.tacdn.com/img2/branding/hotels/chownow_v2_05.11.2020.png",
9      "provider": "Delivery_ChowNow",
10      "providerId": "15772",
11      "providerDisplayName": "ChowNow",
12      "headerText": "Get food delivered"
13    },
14    {
15      "providerType": "DELIVERY",
16      "canProvideTimeslots": false,
17      "buttonText": "Order online",
18      "offerURL": "https://www.tripadvisor.com/Commerce?p=Grubhub&src=111247372&geo=9733711&from=Restaurant_Review&area=reservation_button&slot=2&matchID=1&oos=0&cnt=1&silo=25768&bucket=852508&nrank=2&crank=2&clt=R&ttype=Restaurant&tm=304083551&managed=false&capped=false&gosox=I-ADlg7wY8lqEq92hGOCPH9yxKao4fnJtoYdd5TLctoCVK2EaqcCi9rOMrUCyEbyUQtvrpV-lRWzW1gDEVUwEPEQGOwF2dP15xAYg-gljQo&cs=194d3fc96e6d27349c2517fb04250e3bd_ykq",
19      "logoUrl": "https://static.tacdn.com/img2/branding/hotels/grubhub_05.11.2022.png",
20      "provider": "Grubhub",
21      "providerId": "13712",
22      "providerDisplayName": "Grubhub",
23      "headerText": "Get food delivered"
24    }
25  ]
26}
Developer
Maintained by Apify
Actor metrics
  • 284 monthly users
  • 51 stars
  • 96.7% runs succeeded
  • 1.3 days response time
  • Created in Nov 2019
  • Modified about 2 hours ago
Categories