AtAnyRate/scripts/airbnb_login.py
ilia 1a7298f755 Initial commit: EventRate pipeline, fuzzy dedup, Airbnb retries
Wire up Ticketmaster, SeatGeek, Telegram, scoring, Playwright stubs.
Deduplicate events with fuzzy venue/name matching. Retry calendar
updates on transient failures. Backlog tasks marked complete.

Made-with: Cursor
2026-04-04 12:31:53 -04:00

23 lines
666 B
Python

#!/usr/bin/env python3
"""One-time interactive Airbnb login to save session state.
Run this once (or whenever your session expires):
python scripts/airbnb_login.py
A headed Chromium browser will open. Log in manually, complete 2FA,
then return to the terminal and press Enter. Your session cookies
and localStorage will be saved to state.json for headless reuse.
"""
from pathlib import Path
import sys
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from src.airbnb.auth import interactive_login
if __name__ == "__main__":
print("Starting Airbnb login helper...")
interactive_login()
print("Done. Session saved to state.json")