danndee1/yt-dlp-webui

By danndee1

Updated over 1 year ago

Image
Networking
Web servers
3

6.9K

danndee1/yt-dlp-webui repository overview

yt-dlp-webui全网视频解析下载

简介

yt-dlp 是一个基于知名下载工具 youtube-dl 的分支项目,支持从数百个网站下载内容,包括 YouTube、Vimeo、Dailymotion、Twitter、TikTok、Nico Nico Douga 等几乎所有主流的视频和音频分享平台。本项目修改自知名项目marcobaobao/yt-dlp-webui的开源项目,修改额外支持自定义本地Http代理进行下载,更为方便灵活。可通过灵活前端、配置文件进行修改。

项目特点

  • 🎥 基于 yt-dlp。 使用 yt-dlp 作为核心下载引擎,支持数百个流媒体网站。
  • 🖥️ Web UI 界面。通过 Web 界面操作,无需命令行,适合普通用户使用。提供直观的 URL 输入框、格式选择等功能。
  • ⭕️ 提供 JSON-RPC 1.0 API 和 WebSocket 实时状态推送,支持 JWT 认证(需配置 --auth 参数)
  • 🐳 Docker 部署。可以快速部署在 NAS、服务器或本地环境中。
  • ✅ 任务管理。允许管理下载任务,支持查看进度、格式选择、自动重试等。
  • 🎼 多格式下载。可选择下载 视频、音频、字幕、封面等,支持多种格式(MP4、MKV、MP3 等)。
  • 🐱 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

Tag summary

Content type

Image

Digest

sha256:19613a1b9

Size

132.7 MB

Last updated

over 1 year ago

docker pull danndee1/yt-dlp-webui:v1.3