【发布时间】:2018-09-13 13:19:18
【问题描述】:
在尝试从 python 下载 YouTube 视频时,我遇到了这个错误 AttributeError: 'YouTube' object has no attribute 'get_videos'。
最后一行导致错误。
import pytube
link = ""
yt = pytube.YouTube(link)
videos = yt.get_videos()
谢谢!
【问题讨论】:
-
是什么让你认为对象会有那个方法?我在the readme 或the docs 中看不到任何类似的东西。
标签: python video download youtube pytube