Windows 10
—————————-
Есть скрипт:
import pytube import os video_link = 'https://www.youtube.com/watch?v=d0XCoaiCXDw' yt = pytube.YouTube(video_link) path = 'C:\\Users\\Desktop\\01' video.download(path)
Traceback (most recent call last):
File “C:\Users\Пк\Desktop\01\1.py”, line 8, in <module>
video.download(path)
NameError: name ‘video’ is not defined
Подскажите как исправить ?