Open
Description
Make a new file and edit it: (I named it cytdlp for ytdlp with cookies)
#!/bin/bash
./yt-dlp_linux --cookies cookies.txt "$@"
Make it executable chmod +x cytdlp
Edit ts3audiobot.toml
to include:
[tools]
#Path to the youtube-dl binary or local git repository.
youtube-dl = { path = "./cytdlp" }
Get the cookies and move them to the bots directory (probably from your PC at home) by running:
yt-dlp --cookies-from-browser firefox --cookies cookies.txt
link to ytdlp article for more details
restart the bot
If it doesn't work:
Make sure you have the latest ytdlp
Confirm ./cytdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ
works, so you know you set everything up correctly
Metadata
Metadata
Assignees
Labels
No labels