Skip to content

Latest commit

 

History

History
80 lines (43 loc) · 4.01 KB

File metadata and controls

80 lines (43 loc) · 4.01 KB

Run yt-dlp commands from browser

This PC tool will allow you to download any video or music from your browser in one click using yt-dlp.

This project contains a userscript user script/ytdl.user.js that allows you to run a powershell script powershell/yt-download.ps1 that runs yt-dlp directly from your browser using Tampermonkey or other extensions for userscripts.

Check the wiki to learn how to install and use it.

Screenshots

New download button added on youtube when a video or music is playing

image

One click displays a download menu

image

Menu for other formats and sites is available via Tampermonkey button in your browser

image

Detailed output of the download job

image

Prerequisites

See wiki to know how to install and apply the prerequisites.

  • yt-dlp and ffmpeg commands must be accessible in your PATH
  • your browser needs the extension Tampermonkey to be installed
  • your Windows user account must be allowed to run powershell script .ps1
  • Powershell 7
  • To download from Youtube, you will need to configure yt-dlp to use your cookies

Automatic Updates

The user script is configured to automatically check for updates. If a new version is available in this GitHub repository, Tampermonkey will update it unless you modified it.

But the powershell script won’t auto update. So watch the release to know when there is a new version with fixes or new features. And star ⭐ to easily find this page again in the future.

image image

CONTRIBUTE

  • If you are sure you found a bug, open an issue
  • If you want to ask something, get help, talk and share something with others about this user script, open a discussion

Proof on concept

Once you read the wiki to understand how it works, you understand how easy it is to use this concept to run any OS commands from a browser.

Just fork this repository and enjoy !

Trouble shooting

Just for debug purpose, there is a userscript to test the protocol handler in your browser.

To install the test protocol userscript in Tampermonkey, click below:

Install Userscript

Read how to reach help.


OTHER SCRIPTS

You might be interested by…

Userscript


BUY ME A COFFEE