直播信息扩充组件看起来是可以改进的 #4908
caikun233
started this conversation in
功能建议 / Ideas
Replies: 1 comment
-
#4964 was merged. This discussion can be marked as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
先说一下我完全没看代码()
看起来它现在是像这样运行的
挺麻烦的就是说,我刚发现个API是这样的(直播站右上角,鼠标移到关注按钮上的弹出窗用的就是它)
cookie还是照常带bili_jct和SESSDATA,header里面带个Host就足够
这个API会一股脑把该账号关注且正在直播的房间吐出来,响应的信息不差啥,就缺些online, live_time, area, 以及cover_from_user等这个功能用不到的东西,并且都有响应只不过是空值或0,而需要的face, uname, title, room_id这些是一点不缺
所以似乎可以只请求一次这个API,可以略微的减少那么一丁点占用吧大概()
因为比较无关紧要所以没开issue
Beta Was this translation helpful? Give feedback.
All reactions