# requirements.txt (Revised to include starlette) # Telegram Bot Library python-telegram-bot[httpx]>=20.0,<21.0 httpx>=0.24.0 # Add explicitly (adjust version if needed) # Web Framework (Core) Flask>=2.0 # ASGI Framework (for Lifespan Management) starlette # <<<--- ADD THIS LINE # HTTP Requests Library requests # Web Scraping (HTML Parsing) beautifulsoup4 # YouTube Transcript Library youtube-transcript-api # Apify Client (Include if APIFY_API_TOKEN secret is set) apify-client # WSGI/ASGI Servers & Adapter gunicorn uvicorn[standard] asgiref # Still needed by Starlette's WSGIMiddleware or internally # HTML Parsing Util # (Ensure html is available if used, usually built-in)