Forecasting app: hybrid port to HNF stack
Python FastAPI ML backend kept intact; auth replaced with central hnf_session cookie verification. Frontend rebuilt on React 18 + TS + Vite with stack design system, Plotly charts retained. Shared Postgres via DATABASE_URL; schema applied on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
75d2c1fa9d
103 changed files with 70316 additions and 0 deletions
20
backend/services/scraper_backends/__init__.py
Normal file
20
backend/services/scraper_backends/__init__.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
"""
|
||||
Scraper backends for booking.com rate scraping.
|
||||
|
||||
Provides pluggable backends to allow switching between:
|
||||
- playwright_local: Direct Playwright (default)
|
||||
- playwright_proxy: Playwright with rotating proxies (future)
|
||||
- apify_backend: Apify scraping service (future)
|
||||
"""
|
||||
|
||||
from .base import ScraperBackend, ScraperResult, HotelData, RateData, AvailabilityStatus
|
||||
from .playwright_local import PlaywrightLocalBackend
|
||||
|
||||
__all__ = [
|
||||
'ScraperBackend',
|
||||
'ScraperResult',
|
||||
'HotelData',
|
||||
'RateData',
|
||||
'AvailabilityStatus',
|
||||
'PlaywrightLocalBackend',
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue