From af642413a99487e6279ac7ff93fbff344bd0b6d3 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 15 Jan 2026 12:24:59 +0100 Subject: made yt-dlp great again --- cogs/downloader.py | 1 + requirements.txt | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cogs/downloader.py b/cogs/downloader.py index 535615d..30ddd2a 100644 --- a/cogs/downloader.py +++ b/cogs/downloader.py @@ -60,6 +60,7 @@ class Downloader(commands.Cog): 'm4a'] else 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', 'merge_output_format': 'mp4', 'postprocessors': [], + 'remote-components': 'ejs:github' } # Add post-processing for audio formats diff --git a/requirements.txt b/requirements.txt index 1fbe8e9..3dbf13f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,10 +4,11 @@ aiosignal==1.4.0 anyio==4.12.1 attrs==25.4.0 beautifulsoup4==4.14.3 +brotli==1.2.0 certifi==2026.1.4 cffi==2.0.0 charset-normalizer==3.4.4 -click==8.3.1 +click<=8.3.1 # as per gtts request dotenv==0.9.9 ffmpeg==1.4 frozenlist==1.8.0 @@ -21,6 +22,7 @@ mutagen==1.47.0 propcache==0.4.1 py-cord==2.7.0 pycparser==2.23 +pycryptodomex==3.23.0 PyNaCl==1.6.2 python-dotenv==1.2.1 pytube==15.0.0 @@ -29,6 +31,8 @@ requests==2.32.5 soupsieve==2.8.1 typing_extensions==4.15.0 urllib3==2.6.3 +websockets==16.0 yarl==1.22.0 youtube-search-python==1.6.6 yt-dlp==2025.12.8 +yt-dlp-ejs==0.3.2 -- cgit v1.2.3