This is a python script which download youtube video and playlsit as mp3 or mp4
DISCLAIMER: This script is only for educational purpose, downloading YouTube video is AGAINST copyright and YouTube's terms. The autor of this tool do not take any responsibility for your usage.
-
Install python (preferably one of the indicated versions) if your systemn does not already have python
-
Download or clone the repository:
git clone https://github.com/En7ity303/youtube-downloader.git
-
Install the requirements:
pip3 install -r requirements.txt
-
You are ready to use the program
This script is surely usable with the elencated versions of Python which i have tested on my own, if you have a different version of python you can try to use the tool but it may not function properly
The starting interface of the program allow you to choose some settings, the first one allow you to choose the path where to download the files, the second one allow you to choose the resolution for the mp4 to download, the tird one let you see the current download path wich is by default setted to '.' which means the files are going to be dowloaded in the same folder in which is located the program, the fourth option starts the program, the fifth option close the programm
After you have started the program you can choose to download a video or a playlist
After you have insert the url you can choose the format you wanna download the files into:
- Allow to choose the format
- Allow to choose the path of the downloads
- Allow to choose from basic resolution
- In application mp4 to mp3 convertion
- Add a reset button for all the settings
- Allow to choose the specific resolution for each video
- Improve the code for choosing the commands
Now there is a problem with pytube 15.0.0 I sugest to momentary use older versions of pytube such as 12.1.3 trought this command:
pip3 install pytube==12.1.3
if you really want to use the version 15.0.0 you must follow this guide pytube/pytube#1712
Now there is an issue with python 3.12.X on macOS system so if you have a macOS device you must use 3.11.8 or above