File size: 913 Bytes
85d65ef
 
252bda9
 
 
 
 
 
 
 
 
d7ad0c8
252bda9
d7ad0c8
252bda9
bbee200
d7ad0c8
bbee200
85d65ef
252bda9
 
bbee200
 
d8e5fbc
252bda9
 
 
 
 
 
 
 
 
d7ad0c8
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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