andywang425 / BLTH

哔哩哔哩(bilibili.com)油猴辅助脚本,Bilibili Live Tasks Helper。
MIT License
954 stars 94 forks source link

Support for non-login watching inside some room number / category #496

Closed aon3ko closed 2 weeks ago

aon3ko commented 1 month ago

描述

Screenshot_20240508_204958

As you may know, there's some live can not be viewed if you aren't logged in. The image of live stream will appear at first and then disappear very quickly. So maybe there's a possibility to remove that kind of restriction I guess.

ADJazzzz commented 1 month ago

The official bilibili has been updated, now some live (like APEX) must be logged in to get the live feed.

aon3ko commented 1 month ago

I tried to block https://s1.hdslb.com/bfs/static/blive/blfe-live-room/static/js/app.33bcae1698c519adbc38.js and the stream continues playing without interrupts. So, for solving this problem, I think that we might have to modify some function inside this script.

andywang425 commented 2 weeks ago

I don't think there are many users who need this feature, after all, it's not that hard to login a bilibili account. And predictably, to do this feature would require fighting against some of the anti-cheat logic on bilibili, which would be a hard work.

By the way, modifying or hijacking a function in a js file is not easy since we usually don't have direct access to the variables in it.

aon3ko commented 2 weeks ago

Thank you for your reply and your great work on this useful project. Have a good day!