videoDownloadTGbot/youtube-downloader
vrubelroman 67dba21ff9
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 1m53s
fix(youtube): correct extractor-args separator, soften worker recycling, retry video upload
EXTRACTOR_ARGS used ':' instead of ';' between player_client and skip
fields, so yt-dlp parsed "android:skip=translated_subs" and "hls" as
bogus player_client values and silently fell back to the web client
only, which fails the n-challenge and returns no formats.

--max-requests=1 fully restarted the gunicorn worker after every
single request, opening a race window that could drop the response
connection right after a successful download; raised to 20 with
jitter to keep the periodic-recycle safety net without doing it on
every request.

reply_video() to Telegram had no retry, so a transient httpx
transport error during upload discarded an already-downloaded video;
added the same 3-attempt retry pattern already used for the
downloader services.
2026-06-30 20:24:46 +00:00
..
.gitignore Add YouTube cookies to repository 2025-12-17 17:54:39 +03:00
app.py fix(youtube): correct extractor-args separator, soften worker recycling, retry video upload 2026-06-30 20:24:46 +00:00
docker-compose.yml Enhance YouTube video download functionality with improved error handling and format options. Update Docker configuration to use environment variable for port and simplify network settings. 2025-12-24 22:41:20 +03:00
Dockerfile fix(youtube): correct extractor-args separator, soften worker recycling, retry video upload 2026-06-30 20:24:46 +00:00
get_youtube_cookies.sh Update admin bot token, refine VK and Yapfiles URL handling, enhance Docker configuration for Instagram downloader, and improve YouTube downloader's cookie validation and error messaging. 2026-01-10 21:40:07 +00:00
requirements.txt Fix YouTube 500 error (n-challenge) and Telegram callback_data overflow 2026-04-30 17:21:10 +03:00
youtube_cookies.txt fix(youtube-downloader): subprocess yt-dlp CLI — bypass _ssl handshake timeout 2026-06-08 16:17:02 +00:00