Booking.com scraper ⚡️ CC avatar
Booking.com scraper ⚡️ CC
Try for free

2 days trial then $25.00/month - No credit card required now

View all Actors
Booking.com scraper ⚡️ CC

Booking.com scraper ⚡️ CC

curious_coder/booking-scraper
Try for free

2 days trial then $25.00/month - No credit card required now

Helps in scraping booking.com including stays, hotels, attractions to extract data like name, description, price, badges, location city, country, address, photos, rating, reviews, meal plans, deals, excluded prices and many more hidden information which you won't get from any other scrapers.

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 API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "action": "scrapeStays",
9    "scrapeStays.searchUrl": "https://www.booking.com/searchresults.en-gb.html?label=en-in-booking-desktop-CmH43mrsjzqEEFQPgVycoAS652796016141%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp1007772%3Ali%3Adec%3Adm&aid=2311236&ss=Lonavala%2C+India&lang=en-gb&sb=1&src_elem=sb&src=index&dest_id=-2102774&dest_type=city&checkin=2023-08-12&checkout=2023-09-01&group_adults=2&no_rooms=1&group_children=0&sb_travel_purpose=leisure&offset=0",
10    "startPage": 1,
11    "count": 100,
12    "minDelay": 1,
13    "maxDelay": 3,
14}
15
16# Run the Actor and wait for it to finish
17run = client.actor("curious_coder/booking-scraper").call(run_input=run_input)
18
19# Fetch and print Actor results from the run's dataset (if there are any)
20for item in client.dataset(run["defaultDatasetId"]).iterate_items():
21    print(item)
Developer
Community logoMaintained by Community
Actor metrics
  • 11 monthly users
  • 95.7% runs succeeded
  • Modified about 1 month ago

You might also like these Actors