我正在尝试从网址“https://www.youtube.com/watch?v=uyVYfSNb_Pc&list=PLBxwSeQlMDNiNt72UmSvKBLsxPgGY_Jy-”下载 YouTube 播放列表,但收到错误“get_throtdling_function_name:无法找到多个匹配”。
代码块是:
`
from pytube import Playlist
play_list = Playlist('https://www.youtube.com/watch?v=uyVYfSNb_Pc&list=PLBxwSeQlMDNiNt72UmSvKBLsxPgGY_Jy-')
print(f'Downloading: {play_list.title}')
for video in play_list.videos:
print(video.title)
st = video.streams.get_highest_resolution()
st.download(r'path') `
Run Code Online (Sandbox Code Playgroud)
我正在使用最新版本的 pytube。