All Projects → pelucky → DouyuDanmu

pelucky / DouyuDanmu

Licence: MIT License
抓取斗鱼弹幕,并支持自动发送弹幕 Collect DanMu from Douyu TV

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DouyuDanmu

Xcdanmuview
Android弹幕效果View-支持左右两个方向
Stars: ✭ 28 (-3.45%)
Mutual labels:  danmu
Douyu For Mac
非官方Mac版斗鱼播放器带实时弹幕
Stars: ✭ 148 (+410.34%)
Mutual labels:  danmu
danmu-classroom-screen
danmu-classroom-screen
Stars: ✭ 18 (-37.93%)
Mutual labels:  danmu
Danmaku
live video comments protocol and platform api
Stars: ✭ 70 (+141.38%)
Mutual labels:  danmu
Danmu.js
HTML5 danmu (danmaku) plugin for any DOM element
Stars: ✭ 130 (+348.28%)
Mutual labels:  danmu
Danmu Server
A danmaku server based on WebSocket. 弹幕服务器,基于WebSocket。
Stars: ✭ 169 (+482.76%)
Mutual labels:  danmu
Abplayerhtml5
Video Player for danmaku comments. ABPlayer in HTML5. ABPlayer核心构件以动态HTML编写的版本。向HTML5进发!HTML5弹幕播放器
Stars: ✭ 858 (+2858.62%)
Mutual labels:  danmu
ksdanmu
快手直播弹幕
Stars: ✭ 18 (-37.93%)
Mutual labels:  danmu
Commentcorelibrary
Javascript Live Comment (Danmaku) Engine Implementation. JS弹幕模块核心,提供从基本骨架到高级弹幕的支持。
Stars: ✭ 1,724 (+5844.83%)
Mutual labels:  danmu
Real Url
获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 58 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。
Stars: ✭ 3,748 (+12824.14%)
Mutual labels:  danmu
Danmu
哔哩哔哩、斗鱼和虎牙直播弹幕,使用websocket协议和tcp协议两种均可
Stars: ✭ 71 (+144.83%)
Mutual labels:  danmu
Douyu
Get danmu of douyutv
Stars: ✭ 110 (+279.31%)
Mutual labels:  danmu
Bili
A tool to download barrage/video from bilibili/acfun. Support English, Japanese and Chinese(China).一个Python编写的从Bilibili/Acfun下载弹幕/视频的工具。支持英语、日语和中文(中国)。(WEBGUI正在路上)
Stars: ✭ 179 (+517.24%)
Mutual labels:  danmu
Dmview2
轻量级弹幕,三步即可展示弹幕;也可作为公告的动态展示用途
Stars: ✭ 70 (+141.38%)
Mutual labels:  danmu
DouyuBarrage-Pro
(2020年最新)斗鱼弹幕抓取及可视化管理平台第二版,提供弹幕抓取、弹幕实时发送速度可视化、抓取记录查询、弹幕下载、自定义关键词统计、铁粉统计、高光时刻自动捕获、高频弹幕词云等功能,起飞~~~
Stars: ✭ 139 (+379.31%)
Mutual labels:  danmu
Danmu.go
基于golang的命令行形式的直播网站(斗鱼)的弹幕浏览
Stars: ✭ 14 (-51.72%)
Mutual labels:  danmu
Danmu Client
A cross-platforms danmaku client that supports transparency which based on canvas + WebSocket. 多用跨平台透明弹幕客户端,支持图文弹幕,基于canvas + WebSocket。
Stars: ✭ 151 (+420.69%)
Mutual labels:  danmu
awesome-danmaku
一款轻量、适用于 H5 弹幕场景的 JS lib。🚀🚀
Stars: ✭ 35 (+20.69%)
Mutual labels:  danmu
acfundanmu
AcFun直播API
Stars: ✭ 27 (-6.9%)
Mutual labels:  danmu
Weiya
尾牙小程序
Stars: ✭ 207 (+613.79%)
Mutual labels:  danmu

Douyu TV danmu collector

What can it do!

  • It can collect danmu from Douyu TV
  • As default, it send "#签到 时间戳" one time, so you can set it in crontab to run in the certain time.
  • After package, you should change conf/config.properties.samples to config.properties to change Room_id
  • Thanks to @meanevo!

Result

pel@raspberrypi:~/DouyuDanmu/target $ sh run.sh start
java -XX:+TieredCompilation -Xmx1024m -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=100M -Dfile.encoding=UTF-8 -cp danmu-0.0.1-SNAPSHOT.jar:./conf com.pelucky.danmu.DanmuApp
start
pel@raspberrypi:~/DouyuDanmu/target $ OpenJDK Zero VM warning: TieredCompilation is disabled in this release.
19:54:37.809 [main] INFO  com.pelucky.danmu.util.TcpSocketClient - Connect to Server 124.95.174.146:8601.
19:54:37.934 [main] INFO  com.pelucky.danmu.util.TcpSocketClient - Open Socket successfully
19:54:37.960 [main] INFO  com.pelucky.danmu.util.Danmu - Danmu start succefully!
AcerSword: 赢了
浮夸的谎言: 这个叫啥游戏
斑驳o: 汪涵玩的确实不错
吼吼吼吼吼犀利: 老大练练李广
黄昏过后丶: 66666666666
彡宇: 66666666666
36摄氏度的阳光: 不容易
佰殇: 厉害了老大
yuyuyu123554: 6666666
ppykj001: 2333333333333
汉升汉升: 666666
我clgb: 666666666
是选择遗忘: 对面放水的厉害
自由的人生: 老大威武
静了光阴: 6666
天堂不也就这样: 水友演得好啊
V999999999999999: 厉害了,我的猴
折灬戟沉丿沙: 谁玩游戏不想赢啊,放锤子水
姐姐别摸我: 弹幕大神很NB
谢广坤666666: 6666
吃河蟹的痞老板: 阔以
有一点小简单: 这个游戏 表哥永远在
国民男神丶GeTao: 666
龘靐齾龗: 66666666666
Mass0000: 66666666666
小梵家: 666666
fhjmuqueen: 爱看不看  赢了就是放水??草泥马的
纸币3: 666696
或许行123: 666666666666666
肥皂就用臭肥皂: 躺赢?
fzzzzzzzzzzzzz: 全是老大和队友一点点琢磨的那些说菜的好意思?
虫小七: 厉害啦 弟弟
褐瞳2016: 老大哪个区
暗黑の瓜皮: 终于赢了
瑾小主: 首胜啊
Treasure雨丶: 总算赢了一局
有一点小简单: 这配音
ganda2002: 可终于赢嘞
FadedUs: 66666666666
寅子家的冰箱贴: 6666666666666
chs303007: 终于赢了
waericdh: 老大笑了
黄昏过后丶: 666666666666666666666
eve封尘: 这配音是不是表哥配音的
均失: 66666666666
大貔貅兽: 66666666666666666666
Z空空即空空: 猴笑一个
折灬戟沉丿沙: 66666666666666666666
谛不凡: 老大在那个服务器啊
hongjiaming1: 终于赢了
壞槢慣: 振作啊 弟弟
简爱别逗: 66666666666
就是不吃鱼0: 喷子真多爱看看就看不看关键走
啊哈啊哈呵110: 终于赢了。。
月夜枫姜军: 看下甲片
我clgb: 666666666666
堕落的路西法11: 险些掉段
奥斯特里茨的阳光: 老大厉害了!!
小母牛不下崽: 66
水中深穴: 66666666666666
邪神魂: 更新你吗
A站二胡帝: 赢了

Environment

  • You should have at lesast Java 1.8 and Maven 3
  • Linux is perfered, Windows is also OK

Usage

mvn clean package
cd target
Linux start:sh run.sh start
Linux Stop:sh run.sh stop
Windows: java -cp danmu-0.x.x-SNAPSHOT.jar;.\conf com.pelucky.danmu.DanmuApp

Configuration

danmu_server=openbarrage.douyutv.com 	# Open Barrage's server, Should not change!
danmu_port=8601				# Open Barrage's Port, Should not change!
auth_server=119.90.49.89	# Auth server, Should not change!
auth_port=8092				# Auth server's Port, Should not change!
username=xxxxx				# Copy from cookies
ltkid=xxxxxx				# Copy from cookies, change it when cookies failed
stk=xxxxxx					# Copy from cookies, change it when cookies failed
room_id=71415  				# Room_id of Douyu TV

TODO list

  1. Auto login
    • Because the cookies will change after about one week, so you should change ltkid, stk after the cookie has failed
  2. %'s problem
    • When receive message has '%' in it, the receive thread will crash cos of unable to phrase messages.
  3. Rework the code
    • The send and receive part can divid into two different parts.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].