Expedia & Hotels.com reviews scraper
Try for free
Pay $2.00 for 1,000 Reviews
View all Actors
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
Do you want to learn more about this Actor?
Get a demoThe 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'