getyt is a tool designed in Python which works for Linux and Windows, to learn how to work with Youtube streams, only for legal purposes. The project uses the pytube and tkinter modules.
Make sure you are inside the repository folder.
It is recommended to use a virtual environment, where 'name' is the name you want, without quotes.
python -m venv 'name'
Activate the virtual environment where 'name' is the name from the previous step.
source name/bin/activate
Use the pip install -r
command to install the dependencies of the "requirements.txt" document.
pip install -r requirements.txt
To run the script simply use sudo
(make sure you are in a virtual environment):
sudo python getyt.py
It will request an URL, for example: https://www.youtube.com/watch?v=eTOKXCEwo_8&ab_channel=ThePirateBayAwayFromKeyboard
The tool checks if the URL is valid or not, showing the corresponging log. If the URL is valid, the user will be able to download the highest quality video or audio stream. After clicking it will show the percentage of download and the megabytes downloaded with respect to the total megabytes.
Remember to use the deactivate
command when you finish using the getyt tool to exit virtual environment.
In the actual version of getyt you can use the following functions:
- GUI for getyt designed with tkinter
- Check if URL is valid
- Error logs
- Download audio from YouTube URL
- Download highest resolution video from Youtube URL
- Select download path folder
- Bypass age restricted videos (most of links)
- Download private and hidden links
- Red log when try to download some rare links
by José Joaquín Rojas Romero aka tric0 - [email protected]