Win 10
—————————
Этот код выдал ошибку:
from pytube import YouTube link = input('Enter url: ') youtube_video_url = link try: yt_obj = YouTube(youtube_video_url) filters = yt_obj.streams.filter(progressive=True, file_extension='mp4') filters.get_highest_resolution().download() print('Video Downloaded Successfully') except Exception as e: print(e)
Enter url: https://www.youtube.com/watch?v=gPRdaqqJGQU
'NoneType' object has no attribute ‘span’
Подскажите как это исправить ?