Video Downloader is a user-friendly desktop application built with Python and PyQt5 that allows you to easily download YouTube videos or TikTok videos in the best available quality (video + audio). The app uses the yt-dlp
library to handle the download process.
- Download YouTube videos or Tiktok videos in the best quality (video + audio).
- Choose the save directory for downloaded videos.
- Handle errors gracefully and display error messages.
- Simple and intuitive user interface built with PyQt5.
- Python 3.6 or higher
yt-dlp
libraryPyQt5
library for the GUI
Before running the application, install the required libraries using pip:
pip install yt-dlp PyQt5
To run the Video Downloader App, simply execute the Python script:
python video_downloader.py
This will open the application window where you can:
- Enter a Video URL: Paste the video URL into the input field.
- Choose a Save Directory: Click the "Choose Save Directory" button to select the directory where the video will be saved.
- Start Download: Click the "Download" button to start downloading the video. The progress will be displayed in the progress bar.
- URL Input Field: This is where you paste the YouTube video URL you want to download.
- Save Directory Button: Opens a file dialog to choose where the downloaded video will be saved.
- Progress Bar: A visual indicator showing the download progress.
- Download Button: Starts the download process once a valid URL is entered.
- Status Label: Displays messages such as download status or error messages.
The app will catch any errors during the download process and display an error message in a dialog box. Errors could include:
- Invalid YouTube URL
- Network issues
- Invalid save directory
- Error: Invalid URL: Ensure the URL entered is a valid YouTube video URL.
- Error: No save directory selected: Ensure you choose a valid directory to save the downloaded video.
This project is licensed under the MIT License. See the LICENSE file for details.