Skip to content

abstrakct/docker-yt-dlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for yt-dlp

This is a Docker image for automatically backing up channels/videos on any site supported by yt-dlp (a fork of youtube-dl)

This image is probably not following all best practices for Docker images, but there shouldn't be anything wrong with it either.

Future improvements include optimizing the size of the image. It's probably unneccesarily big right now.

All dependencies are of course included, so this can be a nice way to try / run yt-dlp without having to install every dependency on your host.

Originally forked from timlinden

Optional environment variable 'DOWNLOAD_RATE' will set maximum download rate. See youtube-dl manpage for details.

Optional environment variable 'DOWNLOAD_SUBS' - set to 'yes' (default value) to download and embed any subtitles. Set to 'no' to ignore subtitles.

Optional environment variable 'APPRISE_SERVICE' -if set, the container will send notifications to chosen service via Apprise.

Example docker-compose entry:

youtube-dl:
  image: vortexsurfer/youtube-dl
  container_name: youtube-dl
  environment:
    - DOWNLOAD_RATE=500K
    - APPRISE_SERVICE=discord:https://webhook_id/webhook_token
  volumes:
    - /path/to/download/directory:/downloads
  restart: unless-stopped

Videos will be downloaded to the /downloads directory. Put all the channels you want to automatically download in a file named channels.txt in the /downloads directory. See youtube-dl manpage for details.