작성
·
354
0
import pytube
yt = pytube.YouTube("https://www.youtube.com/watch?v=WH7xsW5Os10") #다운받을 동영상 URL 지정
vids= yt.streams.all()
print('vids',vids)
에러가
Traceback (most recent call last): File "C:\section2\youtube-downloader.py", line 1, in <module>
import pytube File "C:\Users\FS15020201\Anaconda3\envs\section2\lib\site-packages\pytube\__init__.py", line 13, in <module> from pytube.streams import Stream File "C:\Users\FS15020201\Anaconda3\envs\section2\lib\site-packages\pytube\streams.py", line 62 self.is_otf: bool = stream["is_otf"] ^ SyntaxError: invalid syntax
분명 pytube 가 설치되어 있습니다.
버전 10.7.2