Coder Social home page Coder Social logo

请求增加直播页面API about bilibili-api HOT 10 OPEN

vespa314 avatar vespa314 commented on September 2, 2024
请求增加直播页面API

from bilibili-api.

Comments (10)

cnbeining avatar cnbeining commented on September 2, 2024

哦 需要别的东西。

看我的gists。

2016年1月5日星期二,Sg4Dylan [email protected] 写道:

如题。
最基本的能获取及发送弹幕即可。
感谢。


Reply to this email directly or view it on GitHub
#10.

from bilibili-api.

Sg4Dylan avatar Sg4Dylan commented on September 2, 2024

https://gist.github.com/cnbeining/6b2273d7e332f29193d0
这个么?只描述了连接WebSocket的操作

from bilibili-api.

cnbeining avatar cnbeining commented on September 2, 2024

现在是xmlsocket。

连上了等着推。

2016年1月5日星期二,Sg4Dylan [email protected] 写道:

https://gist.github.com/cnbeining/6b2273d7e332f29193d0
这个么?只描述了连接WebSocket的操作


Reply to this email directly or view it on GitHub
#10 (comment)
.

from bilibili-api.

Sg4Dylan avatar Sg4Dylan commented on September 2, 2024

能提供具体的代码参考么? Python C++ 都行(
感谢~

from bilibili-api.

cnbeining avatar cnbeining commented on September 2, 2024

看看我代码的fork们。

2016年1月5日星期二,Sg4Dylan [email protected] 写道:

能提供具体的代码参考么? Python C++ 都行(
感谢~


Reply to this email directly or view it on GitHub
#10 (comment)
.

from bilibili-api.

Sg4Dylan avatar Sg4Dylan commented on September 2, 2024

拿Python撸了个能连上了,不过因为B站的原因,即便有心跳存在也会偶发断线,接着socket.recv()就卡死线程了…
咱是单进程用threading创建两线程,一条处理心跳,一条处理recv()的。
菊苣有什么好方法处理么(迫切

from bilibili-api.

cnbeining avatar cnbeining commented on September 2, 2024

完全不在乎 每秒检测 无限断线重连 反正不是我的服务器 我不care

from bilibili-api.

Sg4Dylan avatar Sg4Dylan commented on September 2, 2024

菊苣用多线程么,Python单进程跑这个一断线就连着检测用的部分一起卡死了

from bilibili-api.

cnbeining avatar cnbeining commented on September 2, 2024

不用啊。

Socket是不是断了很简单可以检测啊。。。

from bilibili-api.

Sg4Dylan avatar Sg4Dylan commented on September 2, 2024

https://gist.github.com/Sg4Dylan/cdeaf8b2f73e726e350e
还有两个问题实在搞不定了(可怕

from bilibili-api.

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.