Tripadvisor Search Scraper avatar

Tripadvisor Search Scraper

Try for free

2 hours trial then $9.00/month - No credit card required now

View all Actors
Tripadvisor Search Scraper

Tripadvisor Search Scraper

louisdeconinck/tripadvisor-search-scraper
Try for free

2 hours trial then $9.00/month - No credit card required now

Scrape restaurant data from TripAdvisor search results. Extract details like name, location, cuisine, price level, ratings, and contact info. Supports multiple start URLs and configurable result limits, uses residential proxies and implements rate limiting to avoid blocking.

TripAdvisor Search Scraper

This Apify actor scrapes restaurant data from TripAdvisor search results. It allows you to extract detailed information about restaurants from specified TripAdvisor search URLs.

Features

  • Scrapes restaurant data from TripAdvisor search pages
  • Supports multiple start URLs
  • Configurable number of results per search
  • Uses residential proxies to avoid blocking
  • Implements rate limiting and error handling

Input

The actor accepts the following input parameters:

  • startUrls (required): An array of TripAdvisor restaurant search page URLs to start scraping from.
  • resultsPerSearch (optional): The number of restaurant results to scrape per search URL. Default is 30, minimum is 1.

Example input:

1{
2    "startUrls": [
3        {
4            "url": "https://www.tripadvisor.com/FindRestaurants?geo=188673&establishmentTypes=10591&mealTypes=10597&broadened=false"
5        },
6        {
7            "url": "https://www.tripadvisor.com/FindRestaurants?geo=186338&establishmentTypes=10591&mealTypes=10606&broadened=true"
8        }
9    ],
10    "resultsPerSearch": 450
11}

Output

The actor stores the scraped data in the default dataset. Each item in the dataset represents a restaurant and contains the following fields:

  • locationId: Unique identifier for the restaurant
  • name: Name of the restaurant
  • url: TripAdvisor URL for the restaurant's details page
  • latitude: Latitude coordinate of the restaurant
  • longitude: Longitude coordinate of the restaurant
  • menuUrl: URL to the restaurant's menu (if available)
  • cuisines: Array of cuisine types
  • priceLevel: Price range indicator
  • rating: Average rating of the restaurant
  • reviewCount: Number of reviews
  • address: Full address of the restaurant
  • phone: Contact phone number

Example output item:

1{
2	"locationId": 944622,
3	"name": "The Yacht",
4	"url": "/Restaurant_Review-g186338-d944622-Reviews-The_Yacht-London_England.html",
5	"latitude": 51.48476,
6	"longitude": -0.003814,
7	"menuUrl": "https://www.greeneking.co.uk/pubs/greater-london/yacht/menu?utm_source=exnet&utm_medium=locations&utm_campaign=UC_menu",
8	"cuisines": [
9		"Bar",
10		"British",
11		"Pub"
12	],
13	"priceLevel": "$$ - $$$",
14	"rating": 4,
15	"reviewCount": 401,
16	"address": "5 Crane St Greenwich, London SE10 9NP England",
17	"phone": "+44 20 8858 0175"
18}

Usage

  1. Create a new task for the TripAdvisor Search Scraper actor in your Apify account.
  2. Configure the input according to your requirements, specifying the startUrls and optionally adjusting the resultsPerSearch.
  3. Run the actor task.
  4. Once the run is finished, you can access the scraped data in the "Dataset" tab of the run detail.

Limitations

  • The accuracy and completeness of the data depend on what's available on TripAdvisor.
  • The actor currently only supports scraping from TripAdvisor Restaurant search pages.
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 1 star
  • 100.0% runs succeeded
  • Created in Oct 2024
  • Modified about 14 hours ago