/youtube_video_downloader

Downloading a video’s/playlist from YouTube is a tedious task. Downloading that video through Downloader or trying to download it from a random website increase’s the risk of licking your personal data.

Primary LanguagePython

Downloading Youtube Video using Python GUI

YouTube is a very popular video-sharing website. Downloading a video’s/playlist from YouTube is a tedious task. Downloading that video through Downloader or trying to download it from a random website increase’s the risk of licking your personal data. Using the Python Tkinter package, this task is very simple-efficient-safe. Few bunch codes will download the video for you. For this, there are two Python libraries – Tkinter and pytube.

Modules Required:

pytube :pytube is a lightweight, simple-to-use, dependency-free Python library that is used for downloading videos from the web.
pytube, is not an auto-configured library. You need to install it before using it. 
Installation of pytube is easy when you have pip. 
In the Terminal or Command Prompt, type the following command to install pytube.
If you are on Mac OS X or Linux, chances are that one of the following two commands will work for you:

pip install pytube 
git clone git://github.com/NFicano/pytube.git pytube | cd pytube | python setup.py install

If you are on Window’s 

pip install pytube3

Tkinter: Tkinter is a Python binding to the Tk GUI toolkit.
It is the standard Python interface to the Tk GUI toolkit or in simple words Tkinter is used as a Python Graphical User interface. 
Tkinter is the native library, you don’t need to install it externally, just import, while you use it.