rates/backend/services/scraper_backends
jtricerolph 83b46bee8f Fix JS extractor under-counting rooms: iterate all tbody rows like scrapy
The previous approach walked siblings from [id^="room_type_id_"] anchors
and only processed rows with js-rt-block-row class, causing the first rate
row of some room types to be silently skipped when that class was absent.

Now iterates all #available_rooms tbody tr rows with data-block-id (same
strategy as the original scrapy spider), using the room_type_id_ element
presence to identify room names only on the first row, with fallback to the
stored name for subsequent rows of the same room type.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-10 00:37:35 +00:00
..
__init__.py Add hotel-page scraper backend with full room/rate plan extraction 2026-07-09 23:08:03 +00:00
base.py Add hotel-page scraper backend with full room/rate plan extraction 2026-07-09 23:08:03 +00:00
playwright_hotel_page.py Fix JS extractor under-counting rooms: iterate all tbody rows like scrapy 2026-07-10 00:37:35 +00:00
playwright_local.py Fix page.content() blocking ~2 minutes after goto timeout on Cloudflare hits 2026-07-09 21:34:37 +00:00