Giter Club home page Giter Club logo

douyudanmaku's Introduction

DouYu Danmaku

捕获斗鱼弹幕的 Java 程序,借此项目,学习 Netty 。

使用方式

java -jar DouYuDanmaku.jar {$URL} {$flag}
  • {$URL} :斗鱼直播间的 URL 地址
  • {$flag} :是否开启海量弹幕模式,默认为关闭。1true 表示开启海量弹幕模式。对于观众人数少的直播间,需要开启海量弹幕模式。

默认的,应用程序会输出目标直播间的弹幕信息、赠送的礼物信息、管理员操作信息、土豪进入房间信息。

例如,yyf 的斗鱼直播间的 URL 是 http://www.douyu.com/58428 ,执行以下命令,可以查看 yyf 斗鱼直播间的弹幕信息。

java -jar DouYuDanmaku.jar http://www.douyu.com/58428

效果如下:

感谢

本项目,阅读和借鉴的很多其他人的成果,尤其是 brucezz 关于抓取斗鱼弹幕内容的文章,以及抓取斗鱼弹幕的 Java 应用程序 DouyuCrawler

其他

关于斗鱼弹幕抓取的方式,可以参照一下内容:

douyudanmaku's People

Contributors

yanglw avatar

Watchers

James Cloos avatar ZhangHao avatar

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.