📌  相关文章
📜  python webscrapping 下载播放列表中的所有视频 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:35.585000             🧑  作者: Mango

代码示例3
vquality=input("Enter the video quality (1080,720,480,360,240,144):")
vquality=vquality+"p"

for link in playlist:
    yt = YouTube(link)
    videos= yt.streams.filter(mime_type="video/mp4",res=vquality)
    video=videos[0]
    video.download("Downloads")
    print(yt.title+" - has been downloaded !!!")