Code Monkey home page Code Monkey logo

Comments (9)

XiaoXinYo avatar XiaoXinYo commented on August 22, 2024 1

我待会写一个示例上传

from live-barrage.

XiaoXinYo avatar XiaoXinYo commented on August 22, 2024

你说的是那一个平台的?

from live-barrage.

luaonze avatar luaonze commented on August 22, 2024

我说的是快手直播弹幕 大佬

from live-barrage.

luaonze avatar luaonze commented on August 22, 2024

大佬 我发现这个可以用 但是我没有使用过websoket 所以我运行他没反应

from live-barrage.

luaonze avatar luaonze commented on August 22, 2024

多谢大佬了

from live-barrage.

XiaoXinYo avatar XiaoXinYo commented on August 22, 2024

我把获取弹幕写成了类的形式,你可以把websocket去掉(从58行到81行替换为下面的)。

url = '直播间网址'
barrage = Kwai_Live_Barrage(url)
while True:
    print(barrage.get())
    time.sleep(3)

from live-barrage.

luaonze avatar luaonze commented on August 22, 2024

多谢大佬了 对了大佬 这个websocket能不能实现发弹幕一个效果呢 有点突发奇想了我

from live-barrage.

XiaoXinYo avatar XiaoXinYo commented on August 22, 2024

可以用websocket实现发弹幕。我不会,你可以去搜搜

from live-barrage.

luaonze avatar luaonze commented on August 22, 2024

多谢大佬指点

from live-barrage.

Related Issues (10)

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.