This is a simple script and Flask app that allows you to download YouTube videos using the command-line tool yt-dlp.
Typing yt-dlp.py and the youtube link everytime you want to download a video. This method can be a lot qucker.
- Clone this repository:
git clone https://github.com/spongly/youtube.git
- Install the dependencies:
pip install flask yt-dlp
- Run the Flask app:
python flask.py
- Install the Tampermonkey extenction:
https://www.tampermonkey.net/
- Click on the Tampermonkey icon and click on Create a new script
- Paste the script in script.txt into Tampermonkey
- Go to a YouTube video you want to download
- Wait for the video player to load
- Click the "Download" button that appears on the player
- The video will be downloaded to your computer
Note: You may need to modify the port number in the Flask app if it conflicts with another application running on your computer.