Skip to content

Commit

Permalink
fix: use yt-dlp instead of youtube-dl
Browse files Browse the repository at this point in the history
Due to changes in the metadata served by YouTube, youtube-dl was no
longer able to download YouTube videos. The issue for youtube-dl remains
open as of today (ytdl-org/youtube-dl#31530),
while yt-dlp is already working again
(yt-dlp/yt-dlp#6253).
  • Loading branch information
pedroclobo committed Mar 4, 2023
1 parent ec1b3df commit 91fb30c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ websockets==10.4
Werkzeug==2.2.2
wrapt==1.12.1
yarl==1.8.2
youtube-dl==2021.12.17
yt-dlp==2023.2.17
zipp==3.12.0
2 changes: 1 addition & 1 deletion src/cogs/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import functools
import itertools
import random
import youtube_dl
import yt_dlp as youtube_dl

# Silence bug reports messages
youtube_dl.utils.bug_reports_message = lambda: ""
Expand Down

0 comments on commit 91fb30c

Please sign in to comment.