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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "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}
31EOF
32
33# Run the Actor using an HTTP API
34# See the full API reference at https://docs.apify.com/api/v2
35curl "https://api.apify.com/v2/acts/tri_angle~expedia-hotels-com-reviews-scraper/runs?token=$API_TOKEN" \
36  -X POST \
37  -d @input.json \
38  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 13 monthly users
  • 4 stars
  • 100.0% runs succeeded
  • Created in Mar 2023
  • Modified about 2 months ago
Categories