- Switch from requests to httpx.AsyncClient (full async HTTP) - Add _request() with exponential backoff on 429/401 - Cache followees with 5-min TTL to reduce API calls - Remove dead code (_get_all_stories, instagram_password, session_file) - Graceful shutdown via asyncio.Event + SIGTERM/SIGINT handlers - Add /health command with connection status - Stream media downloads with httpx + aiofiles - Track story expiring_at for smart cleanup - Sanitize .env.example (remove real tokens)
5 lines
74 B
Plaintext
5 lines
74 B
Plaintext
aiogram>=3.12,<4.0
|
|
httpx>=0.28,<1.0
|
|
loguru>=0.7,<1.0
|
|
aiofiles>=24.1,<25.0
|