yt-dlp 是一个基于知名下载工具 youtube-dl 的分支项目,支持从数百个网站下载内容,包括 YouTube、Vimeo、Dailymotion、Twitter、TikTok、Nico Nico Douga 等几乎所有主流的视频和音频分享平台。本项目修改自知名项目marcobaobao/yt-dlp-webui的开源项目,修改额外支持自定义本地Http代理进行下载,更为方便灵活。可通过灵活前端、配置文件进行修改。
docker compose一键部署
version: "3.7"
services:
yt-dlp-web-ui:
image: danndee1/yt-dlp-webui:v1.3
container_name: yt-dlp-web-ui
ports:
- "3033:3033"
environment:
- JWT_SECRET=randomsecret # RPC 认证的密钥
volumes:
- <your dir>::/config # 配置目录
- <your dir>::/downloads # 下载目录
restart: unless-stopped
command:
- "--auth"
- "--user=admin" # 自定义用户
- "--pass=danndee1" # 自定义密码
- "--qs=2" # 限制并发下载,此处为2个,默认也是2个
自定义配置目录需在目录存放config.yml
# Simple configuration file for yt-dlp webui
---
#enable_proxy: true
#proxy_url:
# Host where server will listen at (default: "0.0.0.0")
#host: 0.0.0.0
# Port where server will listen at (default: 3033)
#port: 3033
# Directory where downloaded files will be stored (default: ".")
#downloadPath: /home/ren/archive
# [optional] Enable RPC authentication (requires username and password)
#require_auth: true
#username:
#password:
# [optional] The download queue size (default: logical cpu cores)
#queue_size: 4 # min. 2
# [optional] Full path to the yt-dlp (default: "yt-dlp")
#downloaderPath: /usr/local/bin/yt-dlp
# [optional] Enable file based logging with rotation (default: false)
#enable_file_logging: false
# [optional] Directory where the log file will be stored (default: ".")
#log_path: .
# [optional] Directory where the session database file will be stored (default: ".")
#session_file_path: .
# [optional] Path where the sqlite database will be created/opened (default: "./local.db")
#local_database_path
# [optional] Path where a custom frontend will be loaded (instead of the embedded one)
#frontend_path: ./web/solid-frontend
Content type
Image
Digest
sha256:19613a1b9…
Size
132.7 MB
Last updated
over 1 year ago
docker pull danndee1/yt-dlp-webui:v1.3