This is a simple program written in Python 3 to download YouTube videos directly through Python. This program saves the video in .mp4 format in the same directory as that of the program.
The program can be run with or without arguments. Both resolution and URL of the video can be passed as arguments. The program can be run in the following ways -
python main.py -resolution url
python main.py url
python main.py
If the resolution is not passed as an argument, the program displays the available resolutions to download. Now with Progress bar added
- sys
- pytube
- urllib