Skip to content
/ stream-dl Public

A yt-dlp wrapper for automated downloading of live streams

License

Notifications You must be signed in to change notification settings

pzyk/stream-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stream-DL

Docker Image Size Docker Pulls Docker Stars GitHub Downloads GitHub Stars

A yt-dlp wrapper for automated downloading of live streams

Installation

Linux

git clone https://github.com/pzyk/stream-dl.git

cd stream-dl

pip3 install -r requirements.txt

vim config/config.yaml

python3 stream-dl.py

Docker

Docker Run

docker run -v /docker/stream-dl/config:/config -v /docker/stream-dl/downloads:/downloads pzyk/stream-dl:latest

Docker Compose

version: "3"

services:

  stream-dl:
    image: pzyk/stream-dl:latest
    container_name: stream-dl
    environment:
      - UID=99                    # Optional
      - GID=100                   # Optional
      - LOG_LEVEL=1               # Optional
      - YTDL_ARGS="quiet,verbose" # Optional
    volumes:
      - /docker/stream-dl/config:/config
      - /docker/stream-dl/downloads:/downloads
    restart: unless-stopped

Environment Variables

Variable Example Value Description
UID 99 User ID for file permissions
GID 100 Group ID for file permissions
LOG_LEVEL 1 0 = Debug, 1 = Info, 2 = Quiet
YTDL_ARGS "quiet,verbose,username=user,password=pass" Arguments to pass to yt-dlp

Image Tags

Tag Description
latest Latest stable version
202210082143 Specific stable version (format: YYYYmmddHHMM)

Configuration

example_service:
  url: https://example.com/
  path: /downloads
  interval: 5m
  channels:
    channel_1:
      url: example
      path: Example
Example Description
example_service Name of the streaming service (choose whatever you like)
url URL of the streaming service
path Default output path for downloaded videos (use /downloads when running in Docker)
interval Interval to check if streams are online (e.g. 10s, 5m, 1h)
channels Fixed block name (do not change!)
channel_1 Name of a channel to download (choose whatever you like)
url URL of the streaming channel (will be appended to the URL of the streaming service; final download URL in this example would be https://example.com/example)
path Output path of the channel (subdirectory inside default output path)

About

A yt-dlp wrapper for automated downloading of live streams

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published