add cookie session persistence

This commit is contained in:
qananasikq
2026-04-10 19:55:38 +03:00
parent b1aeb966ac
commit 05b83b5518
5 changed files with 71 additions and 1 deletions

5
.env
View File

@@ -40,6 +40,11 @@ IAAI_RETRY_DELAY_SECONDS=2.5
IAAI_RETRY_BACKOFF_MULTIPLIER=2.0
IAAI_RETRY_JITTER_SECONDS=0.25
# Session persistence (cookies)
IAAI_STORAGE_STATE_PATH=storage_state.json
IAAI_SESSION_MAX_AGE_DAYS=30
IAAI_SESSION_SAVE_ON_EXIT=true
# Proxy (HTTP/HTTPS preferred for Playwright)
# Chromium does not support SOCKS5 proxy authentication directly.
# Use residential or mobile USA proxy.