Old Stocks block_id has 0 in position 2 (not the persons count) so all its rates were stored as max_persons=0 and deprioritised in the matrix. Now reads max_persons from the visible 'Max persons: N' span (matching the original scrapy spider), with aria-label/title fallback. block_id segment 2 is unreliable across different hotel layouts. Also treat max_persons=0 as unknown in the matrix ORDER BY priority. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| jobs | ||
| services | ||
| auth.py | ||
| database.py | ||
| Dockerfile | ||
| main.py | ||
| migrate_direct_data.py | ||
| requirements.txt | ||
| scheduler.py | ||
| schema.sql | ||