Pytube updated to 9.4.0 (fixed issues)

With the pytube module you can do many things with youtube videos. A recent bug has been fixed and now it works fine again.

To install it:

pip install pytube

To nstall the latest upgrade:

pip install pytube –upgrade

An example of code to dowload a video with pytube.

from pytube import YouTube
yt = YouTube("https://youtu.be/wfXt35Zv2Po")
print(yt.title)
stream = yt.streams.first()
stream.download()

 

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.