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.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Yassine69420
日安装量
0
总安装量
26
评分
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.