YouTube - Add Download Button with yt-dlp Command

Injects a "Download" button that opens a modal to generate yt-dlp commands on YouTube video pages.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Yassine69420
今日安裝
0
安裝總數
25
評價
0 0 0
版本
1.0
建立日期
2025-07-07
更新日期
2025-07-07
尺寸
10.5 KB
授權條款
Unlicense
腳本執行於

YouTube - Add Download Button with yt-dlp Command

Adds a clean "Download" button to YouTube video pages. This script is for users of the command-line tool yt-dlp.


How it Works

  1. A "Download" button will appear next to the "Share" button below the video title.
  2. Clicking it opens a pop-up window.
  3. Choose your desired format:
    • Video: Best, 1080p, 720p, etc.
    • Audio Only: MP3, M4A, WAV
  4. Click "Copy Command".
  5. Paste the command into your computer's terminal to start the download with yt-dlp.

IMPORTANT: You MUST have yt-dlp installed!

  • This script DOES NOT download the video itself. It only generates the text command for you to use.
  • You need to have the yt-dlp program installed on your PC or Mac for the command to work.
  • You will also likely need ffmpeg for merging formats and converting audio.

This script just saves you from having to type the command out manually.