Replies: 1 comment 2 replies
-
didn't work got an error |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently normal youtube-dl will face some traffic problems, for python users can use
yt-dlp
insteadbut you can use extractor for discord-player which is downloader by the following command
YOUTUBE_DL_HOST=https://api.github.com/repos/yt-dlp/yt-dlp/releases?per_page=1 npm install @discord-player/downloader
or add dependence in package.json and just
YOUTUBE_DL_HOST=https://api.github.com/repos/yt-dlp/yt-dlp/releases?per_page=1 npm install
notice:
use cross-env in windows
then inside package
youtube-dl-exec
will download yt-dlp instead of ytdl when it installand just follow downloader instruction
it also resolves my bot play longer than 10 minutes video need a longer timeout, otherwise , it'll just stop after few seconds
Beta Was this translation helpful? Give feedback.
All reactions