Skip to content

[Site Tuned] Get a video's manifest and we do the work!

License

Notifications You must be signed in to change notification settings

Raven-s-Soul/StreamSaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamSaver

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.

How to Use

Important

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 it manualy or with a script using Tampermonkey.

Add-on/plug-in, then just open the file and copy all the content into a new tampermonkey script.

Tip

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, ...

4. Install Dependencies

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.

Alternatives (Those are prone to audio errors)

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

About

[Site Tuned] Get a video's manifest and we do the work!

Resources

License

Stars

Watchers

Forks