Note
A simple Video downloader using yt-dlp
, FFmpeg
.
No fancy gui just a single link to paste in a console.
- It's not the fastest at all, but works.
Important
1. Tampermonkey
A browser extension across all major browsers that makes it easy to find and install userscripts created by other users.
For download with this setup, is needed to have a
url
, you can get itmanualy
or with ascript
using Tampermonkey.Add-on/plug-in, then just open the file and copy all the content into a new tampermonkey script.
Tip
2. FFmpeg
An open-source tool for converting, editing, and streaming video and audio files in different formats.
Download page or
winget
,brew
,apt
, ...
Tip
3. Install Python
Ensure that Python is installed on your system. You can download it from here or
winget
,brew
,apt
, ...
You need to install the required dependencies as administrator (suggested).
You can do this by running the following command in your terminal:
pip install -r requirements.txt
Caution
5. Running StreamSaver.py
The downloads will start with the name of 1.mp4 to x.mp4
you can select at start what is the starter number.
Warning
Do not download more than 3 request at the same time, you may risk get ip banned or else.
- Suggest to wait a little when downloading in big chunks.
Single console command:
yt-dlp <url> -o <filename.mp4>
Script:
import os i = 1 while True: user_input = input("Enter a URL or 'exit' to quit: ") if user_input.lower() == "exit": print("Exiting the loop.") break output_filename = f"{i}.mp4" # Format the output filename dynamically with 'i' # Run yt-dlp with the given URL and output filename s = os.system(f'yt-dlp "{user_input}" -o "{output_filename}"') if(s == 0) i += 1