Skip to content

LittleFish-Coder/youtube-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Downloader

This is a youtube downloader that downloads the video from the youtube link.

Installation

Clone the repository to your local machine or download the zip file.

git clone https://github.com/LittleFish-Coder/youtube-downloader.git

Use the package manager pip to install the required packages.

The packages are listed in the requirements.txt file:

  • pytube
  • yt-dlp
  • moviepy
  • streamlit

Use the following command to install the packages.

pip install -r requirements.txt

Web App

use the following command to run the web app.

streamlit run app.py

Contents

There are total 4 files/scripts in this project.

Usage

In general, it is recommended to use the video_downloader.py script as first priority. The video_downloader.py script performs better in contrast to the bash and bat scripts.

video_downloader.py

Change the url variable to the youtube link at line 13.

url = "https://www.youtube.com/watch?v=9bZkp7q19f0"

Then run the script.

python video_downloader.py

It will then download the video with 1080p resolution(if available) and the audio with the highest quality available.

video_downloader_fast.py

Change the url variable to the youtube link at line 11.

url = "https://www.youtube.com/watch?v=9bZkp7q19f0"

Then run the script.

python video_downloader_fast.py

It will then download the video faster but with 720p resolution(mostly) and the audio with the highest quality available.

video_downloader.bash

Run the script.

bash video_downloader.bash

It will ask for the youtube link.

Enter the youtube link and press enter, then it will download the video with 1080p resolution(if available) and the audio with the highest quality available.

video_downloader.bat

Run the script.

video_downloader.bat

It will ask for the youtube link.

Enter the youtube link and press enter, then it will download the video with 1080p resolution(if available) and the audio with the highest quality available.

About

Download video from youtube url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published