📅  最后修改于: 2022-03-11 14:45:03.359000             🧑  作者: Mango
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()