Skip to content

About

🎬 A simple Python GUI app to download YouTube videos & audio using yt-dlp and CustomTkinter. Supports best quality video+audio (MP4) or audio-only (MP3), with progress, ETA, and thumbnail preview.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 YouTube Video Downloader

A clean, modern desktop app for downloading YouTube videos and audio with ease. image

Python Platform License


✨ What it does

  • πŸ“₯ Download videos in the best quality available
  • 🎡 Extract audio and save as MP3 files
  • πŸ‘€ Preview content before downloading
  • πŸ“Š Track progress with real-time stats
  • πŸ“ Choose where to save your downloads

πŸ–ΌοΈ Interface

Clean and intuitive design featuring:

  • Simple URL input
  • Video preview with thumbnail
  • One-click download buttons
  • Live progress tracking
  • Custom folder selection

πŸš€ Quick Start

What you need

  • Python 3.12.6
  • FFmpeg (for video processing)

Installation

1. Get the code

git clone https://github.com/yourusername/youtube-downloader.git
cd youtube-downloader

2. Install FFmpeg

πŸ“‹ Click to see installation instructions

Windows:

  • Download from ffmpeg.org
  • Add to your system PATH

macOS:

brew install ffmpeg

Linux:

sudo apt install ffmpeg

3. Set up Python

# Create virtual environment
python -m venv venv

# Activate it
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate

# Install requirements  
pip install -r requirements.txt

4. Run the app

python main.py

πŸ’‘ How to use

  1. Paste a YouTube URL into the input field
  2. Click "Fetch Info" to preview the video (optional)
  3. Choose your download folder (optional)
  4. Pick your format:
    • Download Best Video+Audio β†’ Full video as MP4
    • Download Audio (MP3) β†’ Audio only
  5. Watch the progress and wait for completion!

πŸ› οΈ Technical Details

Built with

  • GUI Framework: CustomTkinter (modern UI)
  • Download Engine: yt-dlp (reliable & fast)
  • Image Processing: Pillow (thumbnails)
  • HTTP Requests: requests

File structure

youtube-downloader/
β”œβ”€β”€ main.py           # Main application
β”œβ”€β”€ requirements.txt  # Dependencies
└── README.md        # This file

❓ Having issues?

🚫 "FFmpeg not found" error
  • Make sure FFmpeg is installed
  • Check it's added to your system PATH
  • Restart your terminal after installing
πŸ“± Download fails
  • Check your internet connection
  • Some videos might be private or restricted
  • Update yt-dlp: pip install --upgrade yt-dlp
πŸ–₯️ GUI doesn't show
  • Make sure tkinter is installed (comes with Python)
  • On Linux: sudo apt-get install python3-tk

βš–οΈ Important Notice

For personal use only. Please respect:

  • YouTube's Terms of Service
  • Copyright laws
  • Content creators' rights

This tool is for educational purposes. Use responsibly.


🀝 Contributing

Found a bug? Have an idea? Contributions welcome!

  1. Fork the repo
  2. Create a branch: git checkout -b feature-name
  3. Make changes and commit: git commit -m 'Add feature'
  4. Push: git push origin feature-name
  5. Open a Pull Request

πŸ“‹ Roadmap

  • Playlist downloads
  • Quality selection (4K, 1080p, etc.)
  • Download queue
  • Dark/light theme toggle
  • Subtitle downloads

πŸ’¬ Support

Need help?


Made with ❀️ for the community

⭐ Star this repo β€’ πŸ› Report bug β€’ πŸ’‘ Request feature

About

🎬 A simple Python GUI app to download YouTube videos & audio using yt-dlp and CustomTkinter. Supports best quality video+audio (MP4) or audio-only (MP3), with progress, ETA, and thumbnail preview.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages