![Expedia & Hotels.com reviews scraper avatar](https://images.apifyusercontent.com/oblalntEekuk19K8GZYp-KjIVVlMwzLBHfbWNjHTO4s/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNHp5aWJFSjc5akU3VlhJcEEvVVJTdUd4QUJpZEFDZ0FIcHMtZXhwZWRpYUhvdGVscy5jb20uanBlZw.webp)
Expedia & Hotels.com reviews scraper
Try for free
Pay $2.00 for 1,000 Reviews
View all Actors![Expedia & Hotels.com reviews scraper](https://images.apifyusercontent.com/oblalntEekuk19K8GZYp-KjIVVlMwzLBHfbWNjHTO4s/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNHp5aWJFSjc5akU3VlhJcEEvVVJTdUd4QUJpZEFDZ0FIcHMtZXhwZWRpYUhvdGVscy5jb20uanBlZw.webp)
![Expedia & Hotels.com reviews scraper](https://images.apifyusercontent.com/oblalntEekuk19K8GZYp-KjIVVlMwzLBHfbWNjHTO4s/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNHp5aWJFSjc5akU3VlhJcEEvVVJTdUd4QUJpZEFDZ0FIcHMtZXhwZWRpYUhvdGVscy5jb20uanBlZw.webp)
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
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)
35print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
36for item in client.dataset(run["defaultDatasetId"]).iterate_items():
37 print(item)
38
39# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start