From 744813f0bcd2fe39f1f9fdafe02f37091c8c632a Mon Sep 17 00:00:00 2001 From: ekzyis Date: Tue, 28 Feb 2023 14:43:54 +0100 Subject: [PATCH] Replace youtube_dl with yt-dlp --- requirements.txt | 13 ++++++++++++- src/bot.py | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index efbfe35..7a634e9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,22 @@ aiohttp==3.7.4.post0 +aiosignal==1.2.0 astroid==2.8.0 async-timeout==3.0.1 attrs==21.2.0 autopep8==1.5.7 +Brotli==1.0.9 +certifi==2022.12.7 cffi==1.14.6 cfgv==3.3.1 chardet==4.0.0 +charset-normalizer==2.1.1 coverage==5.5 +dill==0.3.5.1 discord==1.7.3 discord.py==1.7.3 distlib==0.3.4 filelock==3.6.0 +frozenlist==1.3.1 identify==2.4.12 idna==3.2 iniconfig==1.1.1 @@ -18,6 +24,7 @@ isort==5.9.3 lazy-object-proxy==1.6.0 mccabe==0.6.1 multidict==5.1.0 +mutagen==1.46.0 nodeenv==1.6.0 packaging==21.0 platformdirs==2.3.0 @@ -26,6 +33,7 @@ pre-commit==2.18.1 py==1.10.0 pycodestyle==2.7.0 pycparser==2.20 +pycryptodomex==3.17 pylint==2.11.1 PyNaCl==1.4.0 pyparsing==2.4.7 @@ -37,8 +45,11 @@ python-dotenv==0.19.0 PyYAML==6.0 six==1.16.0 toml==0.10.2 +tomli==2.0.1 +tomlkit==0.11.4 typing-extensions==3.10.0.2 virtualenv==20.14.1 +websockets==10.4 wrapt==1.12.1 yarl==1.6.3 -youtube-dl==2021.12.17 +yt-dlp==2023.2.17 diff --git a/src/bot.py b/src/bot.py index 2b9a781..1e8c239 100644 --- a/src/bot.py +++ b/src/bot.py @@ -7,7 +7,7 @@ from distutils.util import strtobool import re import discord -import youtube_dl +import yt_dlp as youtube_dl from discord.ext import commands, tasks from dotenv import load_dotenv