Jeeaaasus / youtube-dl

Automated yt-dlp Docker image
https://hub.docker.com/r/jeeaaasustest/youtube-dl/
MIT License
258 stars 33 forks source link
docker docker-image server youtube youtube-dl yt-dlp

Jeeaaasus - youtube-dl

GitHub last commit GitHub Automated build Image Size Docker Pulls Docker Stars

Automated yt-dlp Docker image for downloading YouTube subscriptions

Docker hub page here.
yt-dlp documentation here.

Features

Quick Start

"I want to download all my subscriptions and my watch later playlist in 4k"

docker run -d \
    --name youtube-dl \
    -v youtube-dl_data:/config \
    -v <PATH>:/downloads \
    -e youtubedl_subscriptions=true \
    -e youtubedl_watchlater=true \
    -e youtubedl_quality=2160 \
    jeeaaasustest/youtube-dl

Then add your cookies as explained in the Configure youtube-dl section below.


"I want to download only certain channels"

docker run -d \
    --name youtube-dl \
    -v youtube-dl_data:/config \
    -v <PATH>:/downloads \
    jeeaaasustest/youtube-dl

Then configure the channels as explained in the Configure youtube-dl section below.

Explanation

Env Parameters

-e <Parameter>=<Value>

Parameter Value (Default) What it does
TZ Europe/London Specify TimeZone for the log timestamps to be correct.
PUID (911) If you need to specify UserID for file permission reasons.
PGID (911) If you need to specify GroupID for file permission reasons.
UMASK (022) If you need to specify umask for file permission reasons.
youtubedl_debug true (false) Used to enable verbose mode.
youtubedl_lockfile true (false) Used to enable youtubedl-running, youtubedl-completed files in downloads directory. Useful for external scripts.
youtubedl_webui true (false) If you would like to beta test the unfinished web-ui feature, might be broken!
youtubedl_webuiport (8080) If you need to change the web-ui port.
youtubedl_subscriptions true (false) If you want to download all your subscriptions. Authentication is required.
youtubedl_watchlater true (false) If you want to download your Watch Later playlist. Authentication is required.
youtubedl_interval 1h (3h) 12h 3d false If you want to change the default download interval.
This can be any value compatible with gnu sleep or if set to false, the container will shutoff after executing. A low interval value risks you being ip-banned by YouTube.
1 hour, (3 hours), 12 hours, 3 days, false.
youtubedl_quality 720 (1080) 1440 2160 If you want to change the default download resolution.
720p, (1080p), 1440p, 4k.

Image Tags

Configure youtube-dl