Skip to content

Python tool to download youtube video/audio using tkinter and pytube.

License

Notifications You must be signed in to change notification settings

josrojrom1/getyt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getyt v3.1.1

getyt_image_1

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.

Installing

Make sure you are inside the repository folder.

Virtual environment

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

Installing dependencies

Use the pip install -r command to install the dependencies of the "requirements.txt" document.

pip install -r requirements.txt

Using getyt

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

getyt_image_2 getyt_image_5

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.

getyt_image_3 getyt_image_4

Remember to use the deactivate command when you finish using the getyt tool to exit virtual environment.

Available functions

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]

About

Python tool to download youtube video/audio using tkinter and pytube.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages