📌  相关文章
📜  如何使用 python 代码示例下载 youtube 播放列表

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

代码示例2
from pytube import Playlist
p = input("Enter th url of the playlist")
purl = Playlist(p)

print(f'Downloading: {p.title}')

for video in purl.videos:
    print(video.title)
    st = video.streams.get_highest_resolution()
    st.download()
    #video.streams.first().download()