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

Mark8948/StreamSaver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

Important

Tampermonkey

For download with this setup, is needed to have a url, you can get it manualy or with a script using Tampermonkey.

Just open the file and copy all the content into a new script.

Tip

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

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

Packages

No packages published

Languages

  • Python 74.1%
  • JavaScript 25.9%