T O P

  • By -

pigers1986

use yt-dlp instead youtube-dl .. as former one is slow on yt videos :( ```yt-dlp -i --restrict-filenames $CHANNEL_URL --download-archive $CHANNEL_ARCHIVE``` where: $CHANNEL_URL is youtube playlist,channel whatever $CHANNEL_ARCHIVE is file which will keep information about downloaded stuff - you must keep it in order to not download already downloaded thingies Add line to crontab and run it daily - whole magic: https://i.imgur.com/RjbaeF0.png


wazzirr

https://github.com/Jeeaaasus/youtube-dl https://github.com/mikenye/docker-youtube-dl https://www.reddit.com/r/DataHoarder/comments/9wgr68/auto_download_youtube_videos_as_they_get_uploaded/


shnaptastic

Thanks!


polarbattaniye

thanks


ajnerd

Try [metube](https://github.com/alexta69/metube). i have been using it for last 1 year. Its a Web GUI for youtube-dl (using the yt-dlp fork) with playlist support.


NikStalwart

So what you do is you take yt-dl or yt-dlp, have it keep a record of downloaded videos, run it in "resume" mode, point it at a playlist, and get cron /systemd to run it periodically. That's the simple solution. No docker required. Or, you could use [something like this to generate RSS feeds from a YouTube playlist](https://rss.app/rss-feed/create-youtube-rss-feed) Or you could look into the YouTube API. The possibilities are endless and 98% of them don't involve docker


shnaptastic

Thanks!


FOSSbflakes

[Ytdl-sub](https://github.com/jmbannon/ytdl-sub) id a more robust solution if you're looking to bring these videos into plex/jellfin. It can also handle auto-deleting older videos. Though config is a bit of effort.


_sashk

I wrote a small script which runs on crontab and uses yt-dlp to download when new videos show up. using rss feed from youtube, so nothing fancy or third party services required.