-
版本: async def videofunc():
# ...
v = video.Video(bvid=bvid, credential=credential)
url_res = await v.get_download_url(0)
detector = video.VideoDownloadURLDataDetecter(data=url_res)
streams = detector.detect_best_streams()
await download_url(streams[1].url, "audio_temp.m4s", "音频流") 但当我
更新:后两种url似乎可以下载,但是下载的文件也打不开。是一个特别小的文件(不到1kb且不是标准音频文件,虽然以我们定的m4s结尾) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
下不了的说明有鉴权 |
Beta Was this translation helpful? Give feedback.
-
这个库只负责拿到
实在不行你看看 owner 写的 bilidown 怎么操作的 |
Beta Was this translation helpful? Give feedback.
参考 视频取流说明 可能对你有帮助