Jul-12-2020, 05:41 PM
Worked fine for me. I added a line to show what URL was read.
import pytube video_url = input("Enter url: ") print(f"Downloading {video_url}") youtube = pytube.YouTube(video_url) video = youtube.streams.first() video.download('tube.out')
Output:Enter url: https://www.youtube.com/watch?v=4KcMdH8qiuk
Downloading https://www.youtube.com/watch?v=4KcMdH8qiuk
And it downloads...