3 ms·
A dash of yt-dlp and a cron job. If you've got a media server, it's the way to go for subscribing to content you're interested in.
by flir 3y ago
A dash of yt-dlp and a cron job. If you've got a media server, it's the way to go for subscribing to content you're interested in.
- avhon1 3y agoThe tricky bit is that you have to get your youtube cookie in order for yt-dlp to get your own liked videos. I expect it to be a lot more LoC to authenticate and get the cookie than to do everything else (which is a one-liner in yt-dlp), so I just do it manually once in a while. yt-dlp -f "best[height<=480][fps<=30]"+bestaudio --cookies cookies.txt --download-archive archive.txt --all-subs --embed-subs --embed-metadata --merge-output-format mkv --sponsorblock-mark all -o "%(channel)s/(%(upload_date)s) %(fulltitle)s.%(ext)s" "https://www.youtube.com/watch?list=LL"
- flir 3y agoI solved this by making my own "To watch..." playlist which was available to anyone who had the link. But I'm one of those "solve the unstable server by rebooting it once a day" guys, so...
- crtasm 3y agoIf you're logged in on a browser on the same machine you can use the --cookies-from-browser option instead of a cookies.txt
- j45 3y agoFor all the responses to my post, I’m glad I did Lots to dive into.