-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
单视频可以下 用户视频下载报错 #40
Comments
俺也一样 |
_getAidUrlTemp 这个接口失效了,没有获取到数据,返回{"code":-799,"message":"请求过于频繁,请稍后再试","ttl":1} |
请问目前有解决方案吗? |
确实,b站队接口进行了升级, 可以发现在作者代码仓库里aid.go的_getAidUrlTemp 变量里,接口不再是https://api.bilibili.com/x/space/arc/search?mid=%d&ps=30&tid=0&pn=%d&keyword=&order=pubdate&jsonp=jsonp, 类似于这样的,仔细观察,dm_img_list 里的是 %7B%22x%22:1781 比如这样的,代表的是 { "x": 1781} 在URL编码中,"%7B"代表左花括号 "{",而"%7D"代表右花括号 "}"。URL编码是一种将特殊字符转换为URL安全格式的方法,通常在将数据包含在URL中时使用。 所以 他的x,y,z 还有其他的一些参数之间就肯定会存在一种联系,你修改了一些参数的话,b站的网关就估计给你权限拦截了。 |
请输入想要下载的视频网址/up主个人主页网址: https://space.bilibili.com/8203563/
2023/08/18 13:31:58 开始下载...
panic: runtime error: integer divide by zero
goroutine 8 [running]:
simple-golang-crawler/parser.getNewBilibiliUpSpaceReqList({0x0, {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x0}, 0xc000358000?)
C:/Users/Mo2022/Documents/golangProject/FastestBilibiliDownloader-master/parser/aid.go:64 +0x5ac
simple-golang-crawler/parser.UpSpaceParseFun({0xc0001e8000?, 0x6b?, 0x0?}, {0xc00007a2f8?, 0x100000000000000?})
C:/Users/Mo2022/Documents/golangProject/FastestBilibiliDownloader-master/parser/aid.go:31 +0x1cf
simple-golang-crawler/engine.work(0xc0000686c0)
C:/Users/Mo2022/Documents/golangProject/FastestBilibiliDownloader-master/engine/concurrent.go:109 +0x9e
simple-golang-crawler/engine.CreateWorker.func1()
C:/Users/Mo2022/Documents/golangProject/FastestBilibiliDownloader-master/engine/concurrent.go:93 +0x79
created by simple-golang-crawler/engine.CreateWorker in goroutine 1
C:/Users/Mo2022/Documents/golangProject/FastestBilibiliDownloader-master/engine/concurrent.go:89 +0x94
The text was updated successfully, but these errors were encountered: