Booking Scraper avatar
Booking Scraper

Pricing

$5.00 / 1,000 results

Go to Store
Booking Scraper

Booking Scraper

Developed by

Voyager

Maintained by Apify

Scrape Booking with this hotels scraper and get data about accommodation on Booking.com. You can crawl by keywords or URLs for hotel prices, ratings, addresses, number of reviews, stars. You can also download all that room and hotel data from Booking.com with a few clicks: CSV, JSON, HTML, and Excel

4.4 (10)

Pricing

$5.00 / 1,000 results

68

Monthly users

283

Runs succeeded

>99%

Response time

1.4 days

Last modified

a month ago

GE

Scrape by URL and no result

Closed

gutsy_ektara opened this issue
2 months ago

i've this error when scraping to this URL

12025-03-11T17:26:38.920Z INFO  Extracting detail...
22025-03-11T17:26:39.494Z WARN  No rooms data found in main data script {"mainDataJson":{"isRetina":"window.devicePixelRatio > 1","b_gtt":"dLYAeZFVJfNTBBSSUZWCFJcaJfOfOXdeDRMJZRT","b_action":"hotel","b_secure_domain":"https://secure.booking.com","b_site_type":"www","b_site_type_id":"1","b_agent_is_no_robot":true,"b_agent_is_robot":false,"b_query_params_with_lang_no_ext":"?label=gen173bo-1DCAsoXEIec2FuZHktdmlsbGFzLXBlcmlzc2Etc2FudG9yaW5pSAlYA2iMAogBAZgBCbgBB8gBDNgBA-gBAfgBA4gCAZgCAqgCA7gCzOTBvgbAAgHSAiQ5NjJjOTgxZC1kYzc4LTQ2NmQtYWEzYS03YmMzNTJjYmNlOWbYAgTgAgE&sid=4fb6ac6937c348886988b97267708c94","b_query_params_with_lang_no_ext_enforce_lang_aid_currency":"?label=gen173bo-1DCAsoXEIec2FuZHktdmlsbGFzLXBlcmlzc2Etc2FudG9yaW5pSAlYA2iMAogBAZgBCbgBB8gBDNgBA-gBAfgBA4gCAZgCAqgCA7gCzOTBvgbAAgHSAiQ5NjJjOTgxZC1kYzc4LTQ2NmQtYWEzYS03YmMzNTJjYmNlOWbYAgTgAgE&sid=4fb6ac6937c348886988b97267708c94;lang=en-gb;aid=304142;selected_currency=USD","b_travel_comm_url_with_lang":"https://community.booking.com/?profile.language=e... [line-too-long]
32025-03-11T17:26:39.792Z WARN  CustomRequestsCheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Operation failed. Error detail: Cannot read properties of null (reading 'addressLine1')
42025-03-11T17:26:39.796Z     at extractTraderInfo (file:///usr/src/app/dist/extraction/hotel-detail-extractor/trader-info-extractor.js:17:40)
52025-03-11T17:26:39.797Z     at extractDetail (file:///usr/src/app/dist/extraction/hotel-detail-extractor/hotel-detail-page-extractor.js:60:21)
62025-03-11T17:26:39.799Z     at handleDetailPage (file:///usr/src/app/dist/routes/detail-page-route.js:41:23)
72025-03-11T17:26:39.800Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
82025-03-11T17:26:39.802Z     at async default (file:///usr/src/app/dist/handle-page-function.js:14:9)
92025-03-11T17:26:39.803Z     at async file:///usr/src/app/dist/main.js:37:17
102025-03-11T17:26:39.804Z     at async ErrorSnapshotter.tryWithSnapshot (file:///usr/src/app/dist/error-snapshotter.js:48:20)
112025-03-11T17:26:39.806Z     at async CustomRequestsCheerioCrawler.requestHandler (file:///usr/src/app/dist/main.js:36:13)
122025-03-11T17:26:39.807Z     at async wrap (/usr/src/app/node_modules/@apify/timeout/cjs/index.cjs:54:21) {"id":"3cVigAcMYU5Bgaj","url":"https://www.booking.com/hotel/gr/sandy-villas-perissa-santorini.en-gb.html?lang=en-gb&group_children=0&soz=1&explicit_lang_change=1&selected_currency=USD&group_adults=2&no_rooms=1&lang_changed=1&explicit_curr_change=1","retryCount":4}
132025-03-11T17:26:46.088Z WARN  CustomRequestsCheerioCrawler: Reclaiming failed request back to the list or queue. Operation failed. Error detail: Desired currency 'USD' was not loaded properly - 'GBP' was loaded instead.
142025-03-11T17:26:46.093Z     at validateRenderedLocaleValue (file:///usr/src/app/dist/routes/detail-page-route.js:80:15) {"id":"3cVigAcMYU5Bgaj","url":"https://www.booking.com/hotel/gr/sandy-villas-perissa-santorini.en-gb.html?lang=en-gb&group_children=0&soz=1&explicit_lang_change=1&selected_currency=USD&group_adults=2&no_rooms=1&lang_changed=1&explicit_curr_change=1","retryCount":5}
152025-03-11T17:26:55.906Z INFO  Extracting detail...
162025-03-11T17:26:56.385Z WARN  No rooms data found in main data script {"mainDataJson":{"isRetina":"window.devicePixelRatio > 1","b_gtt":"dLYAeZFVJfNTBBSSUZWCFJcaJfOfOXdeDRMJZRT","b_action":"hotel","b_secure_domain":"https://secure.booking.com","b_site_type":"www","b_site_type_id":"1","b_agent_is_no_robot":true,"b_agent_is_robot":false,"b_query_params_with_lang_no_ext":"?label=gen173bo-1DCAsoXEIec2FuZHktdmlsbGFzLXBlcmlzc2Etc2FudG9yaW5pSAlYA2iJAogBAZgBCbgBGMgBDNgBA-gBAfgBA4gCAZgCAqgCBLgC2uTBvgbAAgHSAiQzNDZkNDA2ZS02OTljLTQ1NjctYWE0ZC00NjBhYWZjZjFlZjLYAgTgAgE&sid=885b5d525d8a8a3f9187c8226f9f4905","b_query_params_with_lang_no_ext_enforce_lang_aid_currency":"?label=gen173bo-1DCAsoXEIec2FuZHktdmlsbGFzLXBlcmlzc2Etc2FudG9yaW5pSAlYA2iJAogBAZgBCbgBGMgBDNgBA-gBAfgBA4gCAZgCAqgCBLgC2uTBvgbAAgHSAiQzNDZkNDA2ZS02OTljLTQ1NjctYWE0ZC00NjBhYWZjZjFlZjLYAgTgAgE&sid=885b5d525d8a8a3f9187c8226f9f4905;lang=en-gb;aid=304142;selected_currency=USD","b_travel_comm_url_with_lang":"https://community.booking.com/?profile.language=e... [line-too-long]
172025-03-11T17:26:56.418Z

then after change and adding the datetime on input request i got another error

12025-03-11T17:33:42.020Z INFO  Extracting detail...
22025-03-11T17:33:43.251Z WARN  CustomRequestsCheerioCrawler: Reclaiming failed request back to the list or queue. TypeError: Operation failed. Error detail: Cannot read properties of null (reading 'addressLine1')
32025-03-11T17:33:43.252Z     at extractTraderInfo (file:///usr/src/app/dist/extraction/hotel-detail-extractor/trader-info-extractor.js:17:40)
42025-03-11T17:33:43.252Z     at extractDetail (file:///usr/src/app/dist/extraction/hotel-detail-extractor/hotel-detail-page-extractor.js:60:21)
52025-03-11T17:33:43.253Z     at handleDetailPage (file:///usr/src/app/dist/routes/detail-page-route.js:41:23)
62025-03-11T17:33:43.254Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
72025-03-11T17:33:43.254Z     at async default (file:///usr/src/app/dist/handle-page-function.js:14:9)
82025-03-11T17:33:43.255Z     at async file:///usr/src/app/dist/main.js:37:17
92025-03-11T17:33:43.256Z     at async ErrorSnapshotter.tryWithSnapshot (file:///usr/src/app/dist/error-snapshotter.js:48:20)
102025-03-11T17:33:43.257Z     at async CustomRequestsCheerioCrawler.requestHandler (file:///usr/src/app/dist/main.js:36:13)
112025-03-11T17:33:43.258Z     at async wrap (/usr/src/app/node_modules/@apify/timeout/cjs/index.cjs:54:21) {"id":"0xgDvxzm8tfIAB5","url":"https://www.booking.com/hotel/gr/sandy-villas-perissa-santorini.en-gb.html?checkout=2025-05-02&lang=en-gb&group_children=0&soz=1&explicit_lang_change=1&checkin=2025-05-01&selected_currency=USD&group_adults=1&no_rooms=1&lang_changed=1&explicit_curr_change=1","retryCount":2}
122025-03-11T17:34:02.137Z INFO  Extracting detail...
132025-03-11T17:34:02.547Z
lukas.prusa avatar

Hi, thanks for opening this issue!

This seems like a bug in the extraction part of the scraper. We will investigate and fix this :)

I will keep you updated here, thanks!

Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$5.00