小编use*_*573的帖子

AttributeError:“YouTube”对象没有“get_videos”属性

在尝试从 python 下载 YouTube 视频时,我遇到了这个错误AttributeError: 'YouTube' object has no attribute 'get_videos'

最后一行导致错误。

import pytube

link = ""
yt = pytube.YouTube(link)
videos = yt.get_videos()
Run Code Online (Sandbox Code Playgroud)

谢谢!

python youtube video download pytube

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

download ×1

python ×1

pytube ×1

video ×1

youtube ×1