kings stow direct scrape #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://web-bookings.hotels.uk.com/#/booking/51420/rooms/availability?from=2026-07-10&to=2026-07-12&k=xkeXMWxnmNtr5yzRqMkIqXJTCNTE0MjA%3D&r=1783681154765
Implemented in commit
c2e1a97as theqbookprofile.Approach: httpx against the QBook/Hotels UK JSON API (
web-bookings.hotels.uk.com/api/pull). Auth header is deterministic from hardcoded JS bundle constants + dates — no session required.Room quantity: yes —
availableroom(int) per room type.totalroomsalso available in the response for context.Prices:
roompricefield (final price including any last-minute discounts). Rooms withroomprice=0andavailableroom>0are skipped — this means no rate has been configured in QBook's rate manager for that room type (not a scraper issue).Config params:
hotel_id(51420 from the URL) anddk(thek=distribution key from the widget URL, which is fixed per property).