A simple GUI for downloading youtube videos built using Python
A simple GUI built using Tkinter and pytube for downloading videos from YouTube.
NOTE: This is meant to be used for educational purposes only.
This is an external library and can be installed using the command
pip install pytube
.
This is an external library and can be installed using the command
pip install customtkinter
.
This library comes bundled with Python! :smile:
Clone this repository in your desired directory.
Run the command: python python_youtube_downloader.py
and a simple GUI will pop-up:
3. Enter the YouTube Video URL in the text box and click the ***Download*** button.
It will take some time to download the video depending on the video size, video quality and your network connectivity. The downloader looks for the best possible video quality and downloads that for you. :wink:
After the download is complete, a dialog with a message will pop-up:
6. Navigate to the folder ***youtube_downloads*** and you will find your video there in **.mp4** format. Enjoy!
NOTE: If you enter an invalid link, the following error message will show up:
4. Follow steps *4-7* mentioned in the *Usage* section.
If you come across pytube.exceptions.RegexMatchError: Exception, then please refer to this issue.