This project is a YouTube downloader built in Python using the pytube library and tkinter for the GUI. It allows users to download and save videos from YouTube. It also displays video information such as the author, publish date, views, thumbnail and duration.
These instructions will get you a copy of the project up and running on your local machine and start downloading YouTube Videos.
To run this project, you will need:
Python 3.6 or later
- 📦 pip (Python package installer)
If you're using Python 3.4 or later downloaded from python.org, pip is already installed. If you're working in a Virtual Environment created by virtualenv or pyvenv, pip is also available.
Here's a list of the Python packages you'll need:
- charset-normalizer
- certifi
- tkinter
- customtkinter
- darkdetect
- idna
- packaging
- Pillow
- pytube
- requests
- urllib3
git clone https://github.com/recule556688/Youtube_Downloader.gitcd Youtube_Downloader# This command creates the virtual environment named `env`.
python -m venv .venvOn Windows:
# these commands activate the virtual environment
.\.venv\Scripts\activate
# or sometimes you need to use this command:
source .venv/bin/activateOn Unix or MacOS:
# this command activates the virtual environment
source .venv/bin/activateInstall all the necessary dependencies using pip:
# This install all the dependencies
pip install -r requirements.txtRun the Python program:
# The Graphical User Interface will be launched
python yt_downloaderOr now you can just run the program using the release file if one is available for your OS.
# The Graphical User Interface will be launched
double click on the file and the GUI will be launched.python yt_downloader.py # now copy paste a valid YouTube link in the GUIThis project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by Karma