Skip to content

Bardia0/Youtube_Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

Youtube_Downloader

A simple command-line tool to download YouTube videos or entire playlists.

Prerequisites

  • Python 3

  • pytube

    pip install pytube
  • tqdm

    pip install tqdm 
    

Installation

  1. Clone the repository:

    git clone https://github.com/Bardia0/Youtube_Downloader.git
    cd Youtube_Downloader

How to download a single YouTube video

python3 youtube_downloader.py <youtube-video-url>

Download a single YouTube video with an specific quality

python3 youtube_downloader.py --quality 720 <youtube-video-url>

How to download an entire YouTube playlist

python3 youtube_downloader.py --playlist "<youtube-playlist-url>"

Notice that the playlist url should be something like below

https://youtube.com/playlist?list=<some-queries>

or

https://www.youtube.com/playlist?list=<some-queries>

For more information about using the command

use help option as below

python3 youtube_downloader.py --help

the options are

--quality or -q: to Specify video quality (e.g., 720)

and

--playlist or -p: to download entire YouTube playlist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages