无法使用Pafy下载特定品质

时间:2019-05-28 16:47:12

标签: python pafy

playlist = pafy.get_playlist(self.params["url"])
videos = playlist['items']
quality = self.params['quality']
for video in videos :
    p = video['pafy']
    selectedVideo = p.quality
    selectedVideo.download()

但我遇到了错误:

AttributeError:'YtdlPafy' object has no attribute 'quality'

0 个答案:

没有答案