Skip to content

A CLI-based YouTube downloader built using Python. Supports downloading MP4 videos and MP3 audio using pytubefix, ffmpeg, and InquirerPy interactive menus. Includes real-time progress tracking, sanitized filenames, and auto-organized download folders.

Notifications You must be signed in to change notification settings

prakashverma-dev/Youtube-Downloadify-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 YouTube Downloadify – CLI Video & Audio Downloader

A simple and powerful CLI-based YouTube Downloader App built with Python.
Supports downloading MP4 videos and MP3 audio with interactive menu selection using InquirerPy.

This tool uses pytubefix for downloading, ffmpeg for audio extraction, and provides real-time progress through on_progress hook.


πŸ–Ό Screenshots

Action Screenshot
URL Enter CLI Menu URL Enter CLI Menu
Media Selection Media Selection
Formate Selection Formate Selection
Video Downloading Downloading Video
Folder Output Saved Files

πŸš€ Features

  • πŸ”½ Download YouTube videos (MP4)
  • 🎡 Convert and download audio-only (MP3)
  • 🧭 Interactive CLI menu using InquirerPy
  • ⏳ Displays real-time progress for downloads
  • 🧹 Auto-organizes downloads by date & timestamp
  • πŸ“ Saves files cleanly using sanitized filenames
  • πŸ–₯ Works on Windows, Linux, macOS (FFmpeg required)

πŸ“¦ Dependencies / Packages Used

import os
import ffmpeg
from pytubefix import YouTube
import re
from InquirerPy import inquirer
from datetime import datetime
from pytubefix.cli import on_progress

πŸ›  Installation & Setup

1️⃣ Clone the repository

git clone https://github.com/prakashverma-dev/Youtube-Downloadify-app.git
cd youtube-downloadify

2️⃣ Install required Python packages


pip install pytubefix InquirerPy ffmpeg-python


3️⃣ Install FFmpeg

Required for MP3 audio extraction.

sudo apt install ffmpeg

  • macOS
brew install ffmpeg

▢️ How to Run the App


python index.py

πŸ€– CLI Flow

Enter the YouTube URL

  1. Choose an option:

  2. Download Video (MP4)

  3. Download Audio (MP3)

  4. The app downloads the file with progress updates

  5. File saved to ./downloads//filename.mp4 or .mp3

⭐ Contribute / Support

Pull requests are welcome! If you like this project, please ⭐ star the repo on GitHub.

πŸ“„ License

MIT License – free to use.

✨ Built with love by Prakash ❀️

About

A CLI-based YouTube downloader built using Python. Supports downloading MP4 videos and MP3 audio using pytubefix, ffmpeg, and InquirerPy interactive menus. Includes real-time progress tracking, sanitized filenames, and auto-organized download folders.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published