Skip to content

prateekralhan/Python-based-Youtube-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-based YouTube Downloader

Project Status: Active

A simple GUI built using Tkinter and pytube for downloading videos from YouTube.

NOTE: This is meant to be used for educational purposes only.

Dependencies:

  1. pytube

    This is an external library and can be installed using the command pip install pytube.

  2. CustomTkinter

    This is an external library and can be installed using the command pip install customtkinter.

  3. Tkinter

    This library comes bundled with Python! 😄

Usage:

  1. Clone this repository in your desired directory.

  2. 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.
  1. 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. 😉

  2. 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:

Using the .exe

  1. You can access the exe from here.
  2. Download the entire folder and navigate to the dist folder.
  3. Inside the python_youtube_downloader folder, look for python_youtube_downloader.exe. Double-click on it to run the application.

4. Follow steps *4-7* mentioned in the *Usage* section.

NOTE:

If you come across pytube.exceptions.RegexMatchError: Exception, then please refer to this issue.

Raise an issue, if you want any form of help! 😄