Spaces:
Running
Running
# Telegram Bot Library | |
python-telegram-bot[httpx]>=21.0,<22.0 # PTB v21 is recommended | |
# HTTPX (explicitly, for Limits and direct use) | |
httpx>=0.25.0,<0.28.0 | |
# ASGI Framework (Core) | |
starlette>=0.35.0,<0.38.0 # Ensure compatibility with PTB/HTTPX async nature | |
# HTTP Requests Library (for sync fallback or specific APIs if needed) | |
# requests>=2.28,<2.33 # Keep if any sync code still uses it, otherwise optional | |
# Web Scraping (HTML Parsing) | |
beautifulsoup4>=4.11,<4.13 | |
lxml>=4.9.0,<6.0.0 # Often faster parser for BS4, good practice | |
# YouTube Transcript Library | |
youtube-transcript-api>=0.6,<0.7 | |
# Apify Client (Optional) | |
apify-client>=1.0,<1.3 # If using Apify | |
# WSGI/ASGI Servers & Adapter | |
gunicorn>=21.0,<23.0 | |
uvicorn[standard]>=0.27.0,<0.30.0 # Use standard for websockets, http/2 etc. | |
# Async Utilities / Dependencies | |
anyio>=3.6,<5.0 # Explicitly add anyio, often helps resolve conflicts | |
asgiref>=3.5,<3.9 | |
# Retry Logic | |
tenacity>=8.0,<9.0 | |
# Optional: For better encoding detection if needed | |
# chardet>=4.0.0,<6.0.0 |