你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/497849-youtube-cobalt-tools-download-button,源站連結 點此以跳轉

YouTube Cobalt Tools Download Button

Adds a download button to YouTube videos using Cobalt API for downloading videos or audio.



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/497849/YouTube%20Cobalt%20Tools%20Download%20Button.user.js

安装此脚本?
作者
yodaluca23
日安装量
0
总安装量
1,094
评分
4 1 1
版本
1.5.2
创建于
2024-06-13
更新于
2024-12-01
大小
21.0 KB
许可证
GNU GPLv3
适用于

YouTube Download Button with Cobalt API

Description

This user script adds a download button to YouTube videos, allowing users to download videos or audio using the Cobalt API.

How It Works

The script integrates a download button into YouTube's UI, enabling users to download video or audio in their preferred format and quality. It leverages the Cobalt API to facilitate the downloading process.

Key Functions

  1. Cobalt API Request: Sends a request to the Cobalt API to generate a download link.
  2. Fetch Video Info: Retrieves available video qualities and formats from the YouTube page.
  3. Show Quality Popup: Displays a popup for the user to select the format and quality before downloading.
  4. Remove Native YouTube Download Button: Removes the native YouTube Premium Download button, whether it be in overflow or not.

Usage

  1. Install a userscript manager like Tampermonkey.
  2. Add this user script to the manager.
  3. Visit any YouTube video page.
  4. Click the newly added "Download" button.
  5. Select the desired format and quality from the popup.
  6. Click "Download" to start the download process.

Credits