Skip to content

loisekk/python-projects-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

🎬 YouTube Video Downloader (Python GUI)

A simple Python-based YouTube Video Downloader that allows users to download high-quality MP4 videos using a clean file selection dialog.

πŸ“Œ Overview

This project is a lightweight desktop utility built using:

🐍 Python

πŸŽ₯ pytube for YouTube video downloading

πŸ–₯ tkinter for folder selection dialog

Users can:

Enter a YouTube video URL Choose a download directory Automatically download the video in the highest available MP4 resolution

πŸš€ Features

βœ… Download YouTube videos in highest available resolution βœ… Simple terminal-based interaction βœ… Folder selection via GUI dialog βœ… Error handling for invalid links or download issues βœ… Lightweight and beginner-friendly codebase

πŸ›  Technologies Used

Python 3.x

pytube

tkinter (built-in with Python)

βš™οΈ Installation 1️⃣ Clone the repository git clone https://github.com/your-username/youtube-downloader.git cd youtube-downloader

2️⃣ Install required dependency pip install pytube

tkinter comes pre-installed with standard Python distributions.

▢️ How to Run python main.py

Then:

Enter the YouTube video URL

Select a folder using the file dialog

The video will download automatically

πŸ’‘ Example Workflow Please enter a YouTube url: https://youtube.com/... Started download... Video downloaded successfully!

πŸ” Error Handling

The program handles:

Invalid YouTube URLs

Network issues

Invalid save location

Download interruptions

Errors are printed to the terminal for debugging.

πŸ“ˆ Future Improvements

Add download progress bar

Add resolution selection option

Convert to full GUI app (with buttons & input fields)

Add audio-only download option

Add playlist download support

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

Yash Brahmankar

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages