This Python and Tkinter based GUI allows users to directly download the Best Resolution Videos and Audios from Youtube.
Use the package manager pip to install pafy. Pafy along with Youtube-dl should be installed.
pip install pafy
pip install youtube-dl
import pafy
url = input("Enter Video URL: ")
video = pafy.new(url)
# Downloads the best resolution possible
best = video.getbest()
best.download()
For a more detailed usage guide , check out Pafy - Tutorial .
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.