Giter Site home page Giter Site logo

Comments (21)

LuiScreaMed avatar LuiScreaMed commented on May 27, 2024 1

我之前的这个方案似乎会缓解 #397 (comment)

但刚才好像也遇到能建立连接但是无任何弹幕的情形,还需要再观察

试了一下,刚开始第一次连接没有任何消息,但是之后几次都有(((((

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024 1

@passby6someone 你key也没打码所以我藏起来了(

这个key已经可以输入进去软件了,我以前加了这个功能

from bilibili-live-ws.

Rexexe avatar Rexexe commented on May 27, 2024

跟B站有关,今天搞了一天了,有点烦

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

有没有试过别的protover?

from bilibili-live-ws.

tymon42 avatar tymon42 commented on May 27, 2024

不是个例了,关联的两个 issue 都是这个问题……

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

也关联一下 ddiu8081/blive-message-listener#28

有消息说要传个uid进去

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

试一下用getConf拿那个key再建立连接?

from bilibili-live-ws.

tymon42 avatar tymon42 commented on May 27, 2024

有消息说要传个uid进去

大佬,您看错了,要读题哦

原文是在聊游客收弹幕,用户名带星号,uid为0 的问题

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

有消息说要传个uid进去

大佬,您看错了,要读题哦

原文是在聊游客收弹幕,用户名带星号,uid为0 的问题

那getConf呢?

from bilibili-live-ws.

LuiScreaMed avatar LuiScreaMed commented on May 27, 2024

9月1日实测弹幕和礼物获取的几率降低了很多
尝试了通过getRoomid的api获取uid,并且将protover改为3后实测正常
protover 改为 3 但是不使用 uid 的话仍然会提示为保护用户隐私,未登录无法查看他人昵称,建议在 getRoomid 方法的返回参中加入 uid (现在是手动调取 api 获取 roomid 和 uid )

from bilibili-live-ws.

LuiScreaMed avatar LuiScreaMed commented on May 27, 2024

9月1日实测弹幕和礼物获取的几率降低了很多 尝试了通过getRoomid的api获取uid,并且将protover改为3后实测正常 protover 改为 3 但是不使用 uid 的话仍然会提示为保护用户隐私,未登录无法查看他人昵称,建议在 getRoomid 方法的返回参中加入 uid (现在是手动调取 api 获取 roomid 和 uid )

又不行了 :)

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

9月1日实测弹幕和礼物获取的几率降低了很多 尝试了通过getRoomid的api获取uid,并且将protover改为3后实测正常 protover 改为 3 但是不使用 uid 的话仍然会提示为保护用户隐私,未登录无法查看他人昵称,建议在 getRoomid 方法的返回参中加入 uid (现在是手动调取 api 获取 roomid 和 uid )

又不行了 :)

天呐

from bilibili-live-ws.

sparanoid avatar sparanoid commented on May 27, 2024

我之前的这个方案似乎会缓解 #397 (comment)

但刚才好像也遇到能建立连接但是无任何弹幕的情形,还需要再观察

from bilibili-live-ws.

tymon42 avatar tymon42 commented on May 27, 2024

我之前的这个方案似乎会缓解 #397 (comment)
但刚才好像也遇到能建立连接但是无任何弹幕的情形,还需要再观察

试了一下,刚开始第一次连接没有任何消息,但是之后几次都有(((((

我的情况下,还是按照概率来的

from bilibili-live-ws.

Drelf2018 avatar Drelf2018 commented on May 27, 2024

bilibili-api-python 库同样遇到了这个问题,该库以往的解决办法是认证消息中的 uid 使用直播间主播的 uid,但现在已经不能正常使用,只能在使用正确的登录用户的 uid 并在 buvid 项填入其对应值才能获取到弹幕。

from bilibili-live-ws.

LuiScreaMed avatar LuiScreaMed commented on May 27, 2024

如果是不需要处理用户星号问题的话,可以uid传0,然后在https://api.bilibili.com/x/frontend/finger/spi拿到buvid3(data["b_3"])之后作为buvid传,稍微测了几次挺稳
单独uid传0的话还是会有收不到的情况
copyliu/bililive_dm#145 (comment)

from bilibili-live-ws.

bybybybyb avatar bybybybyb commented on May 27, 2024

xfgryujk/blivechat#123
现在似乎必须要登录才能正常获取弹幕了

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

😨真的有够麻烦

from bilibili-live-ws.

passby6someone avatar passby6someone commented on May 27, 2024

@passby6someone 你key也没打码所以我藏起来了(

这个key已经可以输入进去软件了,我以前加了这个功能

抱歉没细看issue😂,因为从另一个有问题的库过来的,以为是同一个问题就回复了一下

应该是那个库没升级版本导致的

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

我看了一眼,现在是这样

{
  "uid": 123,
  "roomid": 123,
  "protover": 3,
  "buvid": "xxx",
  "platform": "web",
  "type": 2,
  "key": "xxxx"
}

我去加一下这个buvid 😮‍💨

from bilibili-live-ws.

simon300000 avatar simon300000 commented on May 27, 2024

哦 我看了一眼代码,我已经有这个参数了 😆

from bilibili-live-ws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.