Skip to content

A simple, user-friendly command-line tool to download individual YouTube videos or entire playlists in the highest available resolution using pytubefix.

Notifications You must be signed in to change notification settings

Ai-Chetan/Youtube-Video-and-Playlist-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 YouTube Video/Playlist Downloader (pytubefix)

A simple, user-friendly command-line tool to download individual YouTube videos or entire playlists in the highest available resolution using pytubefix.


πŸ“¦ Features

  • βœ… Download single videos in highest resolution.
  • βœ… Download entire playlists with organized folder structure.
  • βœ… Progress feedback during download.
  • βœ… Simple CLI interface.
  • βœ… Cross-platform support.

πŸš€ Getting Started

Follow the steps below to clone, install, and run this project.

1. πŸ“₯ Clone the Repository

git clone https://github.com/Ai-Chetan/youtube-downloader.git

2. 🐍 Create a Virtual Environment (Optional but Recommended)

For Windows

python -m venv venv
venv\Scripts\activate

For macOS/Linux

python3 -m venv venv
source venv/bin/activate

3. πŸ“¦ Install Requirements

  • Make sure you have Python 3.7+ installed.
  • Then run following command in the terminal
pip install -r requirements.txt

4. ▢️ How to Use

Run the script from the terminal:

python youtube-downloader.py

You'll be prompted to:

  • Enter the YouTube video or playlist URL.
  • Specify an output directory (or press Enter for current directory).
  • The program will automatically detect whether it's a single video or a playlist and proceed accordingly.

5. πŸ“ Example Usage

Download a Single Video
πŸ”— Enter the YouTube video or playlist URL: https://www.youtube.com/watch?v=abcd1234
πŸ“‚ Enter output directory (leave blank for current folder): 
Download a Playlist
πŸ”— Enter the YouTube video or playlist URL: https://www.youtube.com/playlist?list=PLxyz...
πŸ“‚ Enter output directory (leave blank for current folder): 

πŸ‘¨β€πŸ’» Author

Developed by Chetan Chaudhari.

About

A simple, user-friendly command-line tool to download individual YouTube videos or entire playlists in the highest available resolution using pytubefix.

Topics

Resources

Stars

Watchers

Forks

Languages