booking

Scrape Booking.com hotel listings and prices via a Chrome debugger connection.

5|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/AgentComputerAI/torch --skill booking-agentcomputerai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: booking
Source: https://github.com/AgentComputerAI/torch/tree/main/skills/sites/booking
Command: npx skills add https://github.com/AgentComputerAI/torch --skill booking-agentcomputerai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Booking.com blocks simple HTTP requests with a CloudFront JavaScript challenge and renders hotel listings only after client‑side execution, making traditional scraping ineffective.

Core Features & Use Cases

  • Connects to a real Chrome instance at 127.0.0.1:9222 to bypass the challenge.
  • Waits for client‑rendered data-testid="property-card" elements and extracts comprehensive hotel details, including price, review score, distance, and images.
  • Handles pagination by repeatedly clicking the “Load more results” button until no new cards appear.
  • Works for any destination and date range by constructing URLs with check‑in and check‑out parameters.

Quick Start

Use the booking skill to retrieve all hotel listings for Tokyo on Booking.com for a two‑night stay starting two weeks from today.

Frequently Asked Questions about booking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Booking.com hotel listings blocked by CloudFront JavaScript challenges?

To scrape Booking.com hotel listings blocked by CloudFront, you must connect to a real Chrome instance via a debugger connection. This approach bypasses the JavaScript challenge by waiting for client-rendered property cards to load before extracting hotel details, prices, and images.

Can I extract hotel prices and review scores for specific check-in and check-out dates?

Yes, you can extract hotel prices and review scores for specific dates. The scraping process constructs Booking.com URLs with your desired check-in and check-out parameters, ensuring the retrieved property card data matches the exact date range queried.

How does pagination work when scraping Booking.com search results?

Pagination is handled by repeatedly clicking the Load more results button on the Booking.com search page. The scraper continues loading and extracting new property cards until no additional hotel listings appear on the page.

Do I need a local Chrome browser running to scrape Booking.com data?

Yes, you need a real Chrome instance reachable at 127.0.0.1:9222 to scrape Booking.com data. This local debugger connection is required to execute the client-side JavaScript that renders the hotel listings and bypasses CloudFront protections.

Why does my traditional HTTP request fail to scrape Booking.com hotel data?

Traditional HTTP requests fail to scrape Booking.com because CloudFront serves a JavaScript challenge that must be executed client-side. Without a real Chrome browser to render the page, the hotel listings, prices, and related details are never loaded into the DOM.

What data fields are extracted from Booking.com property cards during scraping?

Scraping Booking.com property cards extracts comprehensive hotel details including prices, review scores, distances, and images. The process specifically targets client-rendered elements containing these data fields for every loaded listing.