telegram-summary-bot / requirements.txt
fmab777's picture
Update requirements.txt
d7ad0c8 verified
raw
history blame
913 Bytes
# requirements.txt
# Telegram Bot Library
python-telegram-bot[httpx]>=21.0,<22.0
# HTTPX (Core for async requests)
httpx[http2]>=0.25.0,<0.28.0
# ASGI Framework (Core)
starlette>=0.35.0,<0.38.0
# Web Scraping (HTML Parsing - Fallback 1)
beautifulsoup4>=4.11,<4.13
lxml>=4.9.0,<6.0.0 # Optional but recommended BS4 parser
# Web Scraping (Primary Method - Headless Browser)
crawl4ai>=0.5.0,<0.6.0 # <<< ADDED crawl4ai
# YouTube Transcript Library (Primary method)
youtube-transcript-api>=0.6,<0.7
# Google Gemini SDK (Primary Summarizer)
google-generativeai>=0.5.0,<0.7.0
# WSGI/ASGI Servers & Adapter
gunicorn>=21.0,<23.0
uvicorn[standard]>=0.27.0,<0.30.0
# Async Utilities / Dependencies
anyio>=3.6,<5.0
asgiref>=3.5,<3.9
# Retry Logic
tenacity>=8.0,<9.0
# Crawl4AI requires Playwright, but we install it via Dockerfile command
# playwright>=1.30 # Not strictly needed here if installed via RUN command