WhiteBlue / bilibili-sdk-go

BiliBili Open API & SDK written in Go
MIT License
322 stars 71 forks source link

B站封了appkey #29

Open DIYgod opened 7 years ago

DIYgod commented 7 years ago

使用原有appkey返回的是appkey invalid

修改可以参考:https://github.com/DIYgod/DPlayer/commit/41a0b484bb72f6f64863f0f24be13986ffa68b85

WhiteBlue commented 7 years ago

感谢提醒,我改下.....

【还以为B站不会管呢

WhiteBlue commented 7 years ago

哎试了试,新key & secret大概没有老接口的权限,目前api.bilibili.com/view这个接口无法继续用了

wjm commented 7 years ago

@DIYgod @WhiteBlue 我试了一下新的appkey,但是抓取视频地址时仍然是{"code":"API_RETURN_ERROR","message":"API sign invalid"} 请问是怎么回事呢?

DIYgod commented 7 years ago

现在视频加了防盗链,只能在B站用

绝望

wjm commented 7 years ago

@DIYgod 我只需要解析下载地址,请问现在还有别的做法么

DIYgod commented 7 years ago

@wjm2038 新的appkey可以用,http://dplayer.js.org/docs/#/?id=bilibili-danmaku-and-video-link

wjm commented 7 years ago

@DIYgod @WhiteBlue 不好意思再打扰一下啊,请问我如果知道av号想解析出其中的分p,内容,作者之类的详细信息还怎么办