Skip to content

Simple script to download YouTube videos or Playlist using the CLI.

Notifications You must be signed in to change notification settings

aryanranderiya/SimpleYouTubeDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

This script allows you to download either single YouTube videos or entire playlists.

Requirements

Installation

  1. Clone or download this repository.
  2. Install the required dependencies:
pip install pytube

Usage

  1. Run the script:
python youtube_downloader.py
  1. Enter the YouTube link of the video or playlist you want to download when prompted.

Features

  • Downloads single YouTube videos.
  • Downloads entire YouTube playlists.

How it Works

  1. The script prompts you to enter a YouTube link.
  2. It detects whether the link is for a single video or a playlist.
  3. For a single video, it downloads the highest quality available.
  4. For a playlist, it downloads all the videos in the playlist.
  5. Progress of each download is displayed.

Example

python youtube_downloader.py
Enter YouTube Link: (Video or Playlist) <Enter your YouTube link here>

Note

  • The downloaded videos are saved in a new folder with the Playlist/Video title on your desktop by default.