Expedia & Hotels.com reviews scraper avatar
Expedia & Hotels.com reviews scraper
Try for free

Pay $2.00 for 1,000 Reviews

View all Actors
Expedia & Hotels.com reviews scraper

Expedia & Hotels.com reviews scraper

tri_angle/expedia-hotels-com-reviews-scraper
Try for free

Pay $2.00 for 1,000 Reviews

Scraper to get reviews from URLs of hotels, apartments and other accommodations listed on Expedia.com and Hotels.com portals

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = { "startUrls": [
8        {
9            "url": "https://www.expedia.com/Prague-Hotels-Hotel-Krystal.h10966026.Hotel-Information",
10            "method": "GET",
11            "userData": {
12                "hotel": "Prague Hotel Krystal",
13                "doWeEndorseIt": "no opinion",
14            },
15        },
16        {
17            "url": "https://www.expedia.it/en/Berchtesgaden-Hotels-Alpensport-Hotel-Seimler.h2692552.Hotel-Information",
18            "method": "GET",
19            "userData": {
20                "your": [
21                    "custom",
22                    "data",
23                    "goes",
24                    "here",
25                ],
26                "doWeEndorseThisHotel": "no opinion",
27            },
28        },
29    ] }
30
31# Run the Actor and wait for it to finish
32run = client.actor("tri_angle/expedia-hotels-com-reviews-scraper").call(run_input=run_input)
33
34# Fetch and print Actor results from the run's dataset (if there are any)
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36    print(item)
Developer
Maintained by Apify
Actor metrics
  • 28 monthly users
  • 99.5% runs succeeded
  • 2.8 days response time
  • Created in Mar 2023
  • Modified 3 days ago
Categories