u1234x1234 / youtube-sync

YouTube playlists downloader daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtube-sync

Docker Pulls Size

  • youtube-sync is a containerized daemon that downloads YouTube playlists.

  • youtube-sync will check for updates from the listed YouTube playlists every day and download only new items.

  • youtube-sync can download any YouTube playlists in a specified format (audio or video).

Essentially, it is Docker containerized yt-dlp (which is fork of youtube-dl), working on a schedule.

Usage

  • Create config.yml with the following content:
#Download audio only
- name: tensorflow_channel_audio
  playlist_url: https://www.youtube.com/channel/UC0rqucBdTuFTjJiefW5t-IQ/videos
  args: --extract-audio --audio-format mp3 --audio-quality 0 # best quality
#or video
- name: tensorflow_channel_video
  playlist_url: https://www.youtube.com/channel/UC0rqucBdTuFTjJiefW5t-IQ/videos
  • Then run docker:
mkdir downloads
docker run --name youtubesync --restart=always -d -v $PWD/downloads:/downloads -v $PWD/config.yml:/config.yml u1234x1234/youtube-sync:1.0.16

All downloads will be available in the local dir downloads.

  • To view logs:
docker logs youtubesync

About

YouTube playlists downloader daemon

License:MIT License


Languages

Language:Python 77.6%Language:Dockerfile 22.4%