You will need to install a user script manager extension to install this script.
The is a simple userscript allows you to get download YouTube videos without 3rd-party service.
You could take a look of the source code, everything is fetch from youtube directly.
Note: This script only Violentmonkey and Tampermonkey, so using Greasemonkey or Firemonkey is unsupported.
youtube-dl is much more reliable than this script. If you are find with
youtube-dl, just stick with it.
But the point of this script is that you can easily download a YouTube video within a click, no need to open your terminal and enter
youtube-dl command. But, you should use
youtube-dl if you want to download more than 1080p or download a playlist.
The default browser download location.
youtube-dl, since this script runs totally in a browser, it is heavily limited by it.
Use a tool that supports your need,
youtube-dl should be able to meet most of your need.
This script based on maple3142/ytdl, which is my another project.
I just port some code to let it works in browser & add UI interface.
English strings: local-youtube-dl.user.js
Released under MIT license.
If user violate YouTube's EULA, this script provide no legal responsibility.
Last Update: 2021/06/15