Youtube-Video-Downloader-Using-Python

This python application helps to fetch the video title and it's no of views. It also helps to download the youtube video, and saves it in a desried folder. The user just has to input the url and the process takes place automatically.

Prerequisite

  1. Installation of python

  2. Pycharm / VS Code IDE

  3. Installation of pytube

        pip install pytube (or)
    
        $ python -m pip install pytube (or)
    
        # Sometimes the package becomes outdated so to avoid the below github command can be used
    
        $ python -m pip install git+https://github.com/pytube/pytube 
    
  4. Destination folder in any location of the system

PyTube Package in Python

pytube

pytube is a genuine, lightweight, dependency-free Python library (and command-line utility) for downloading YouTube videos.

Documentation

Detailed documentation about the usage of the library can be found at pytube.io. This is recommended for most cases. If you want to hastily download a single video, the quick start guide below might be what you're looking for.

Description

YouTube is the most popular video-sharing platform in the world and as a hacker, you may encounter a situation where you want to script something to download videos. For this, I present to you: pytube. It is a lightweight library written in Python. It has no third-party dependencies and aims to be highly reliable. It also makes pipelining easy, allowing you to specify callback functions for different download events, such as on progress or on complete.

Furthermore, pytube includes a command-line utility, allowing you to download videos right from the terminal.pytube is a genuine, lightweight, dependency-free Python library (and command-line utility) for downloading YouTube videos.

Documentation

Detailed documentation about the usage of the library can be found at pytube.io. This is recommended for most cases.

Features

• Support for both progressive & DASH streams

• Support for downloading the complete playlist

• Easily register on_download_progress & on_download_complete callbacks

• Command-line interfaced included

• Caption track support

• Outputs caption tracks to .srt format (SubRip Subtitle)

• Ability to capture thumbnail URL

• Extensively documented source code

• No third-party dependenciess

• Support for both progressive & DASH streams

• Support for downloading the complete playlist

• Easily register on_download_progress & on_download_complete callbacks

• Command-line interfaced included

• Caption track support

• Outputs caption tracks to .srt format (SubRip Subtitle)

• Ability to capture thumbnail URL

• Extensively documented source code

• No third-party dependencies