scx567888 / live-room-watcher Goto Github PK
View Code? Open in Web Editor NEW📺 可抓取直播间 弹幕, 礼物, 点赞, 原始流地址等
License: MIT License
📺 可抓取直播间 弹幕, 礼物, 点赞, 原始流地址等
License: MIT License
你好,感谢你的项目思路
我想说你已经完成了很多工作,距离产品化只差接入AI,用AI生成视频 再推流到抖音
可以开发支持抖音发送弹幕吗?
最近看了很多github上的抖音live的项目,都是挂羊头卖狗肉的。
大佬直接发二维码吧,给大佬敬茶。
运行命令: java -jar live-room-watcher-0.0.4.jar
执行报错如下:
Exception in thread "main" java.lang.NoClassDefFoundError: io/netty/handler/codec/http/cookie/Cookie
at cool.scx.live_room_watcher.Main.main(Main.java:8)
Caused by: java.lang.ClassNotFoundException: io.netty.handler.codec.http.cookie.Cookie
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 1 more
很不错的程序,终于找到java版本的,
问下头像链接怎么获取?
可惜快手不行
请问作者大大有计划做b站和视频号的接入吗
[礼物] 游网络 : 棒棒糖 x 1
[礼物] 游网络 : 棒棒糖 x 1
只刷了一个棒棒糖,出现了2个
我破解了signature js加密
传入值依然200 socket 连接失败 有空麻烦看看
在我的一台linux服务器上(这台服务器可能因为频繁访问抖音而受到了部分限制),发现当ws链接中的fetch_time太旧时,多次重试均返回200。当fetch_time的值改为System.currentTimeMillis()
后,可以获取弹幕。另外,在一个新线程中启动弹幕获取,如果该线程不是守护线程,也会返回200。但在我Windows系统的机器上均未出现上述情况。
目前已完全无法连接到抖音直播间,提示信息为RENDER_DATA解析失败
人工检查发现RENDER_DATA确实已经消失了
可能抖音官方修改了机制或者藏起来了
作者大大能麻烦更新下吗
为您点赞
是抖音那边有更新了嘛
添加登录后的cookie 在榜单上可以看见我登录的账号进入了
怎么运行它?
如题,能详细说说使用方法吗
大部分时间数据都是正常的,但在开播几个小时之后,会离奇的出现礼物丢失的情况,各个抛异常的点都打日志了,结果还是一个报错的没有,大佬能帮忙看下这个问题吗?是抖音直播服务端确实会漏礼物还是我获取礼物的逻辑有问题。
private static int GetGiftCount(Gift gift) {
DouYinGift gift1 = (DouYinGift) gift;
GiftMessage giftMessage = gift1.giftMessage;
if (giftMessage.getGroupId() == 0){
if (giftMessage.getRepeatCount() == 0){
LOGGER.error("giftMessage.getRepeatCount() == 0");
LOGGER.error(giftMessage.getRepeatCount() + ":" + giftMessage.getGroupCount() + ":" + giftMessage.getTotalCount()
+ ":" + giftMessage.getGroupId() + ":" + giftMessage.getGiftId());
}
return (int) giftMessage.getRepeatCount();
}
String uniqueId = gift.user().userId() + giftMessage.getGiftId() + giftMessage.getGroupId();
giftGroupMap.putIfAbsent(uniqueId, new AtomicInteger(0));
AtomicInteger atomicInteger = giftGroupMap.get(uniqueId);
int currentCount;
int count = (int) giftMessage.getRepeatCount();
while (count > (currentCount = atomicInteger.get())){
if (!atomicInteger.compareAndSet(currentCount,count)){
continue;
}
return count - currentCount;
}
return 0;
}
有问题请教一下。1.java版本对应是多少。2.能够将依赖工程放到一个里面,部署方便
我也是想要研究这个。我目前也是只有得到webcast_uid但找不到有关联点。
通过 KuaiShouHackLiveRoomWatcher 来抓快手的,会报错,空指针。 必须去申请APP_ID等,然后通过KuaiShouLiveRoomWatcher吗?
目前0.1.3抖音的还是RENDER_DATA旧版,有看到源码0.1.4有更新
作者大大计划什么时候上**仓库哇
Exception in thread "main" java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'
at com.oracle.truffle.api.library.LibraryFactory.ensureLibraryInitialized(LibraryFactory.java:384)
at com.oracle.truffle.api.library.LibraryFactory.getUncached(LibraryFactory.java:364)
at com.oracle.truffle.api.library.LibraryFactory.(LibraryFactory.java:210)
at com.oracle.truffle.api.interop.InteropLibraryGen.(InteropLibraryGen.java:178)
at com.oracle.truffle.api.interop.InteropLibraryGen.(InteropLibraryGen.java:169)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:529)
at java.base/java.lang.Class.forName(Class.java:508)
at com.oracle.truffle.api.library.LibraryFactory.loadGeneratedClass(LibraryFactory.java:791)
at com.oracle.truffle.api.library.LibraryFactory.resolveImpl(LibraryFactory.java:740)
at com.oracle.truffle.api.library.LibraryFactory.resolve(LibraryFactory.java:733)
at com.oracle.truffle.api.interop.InteropLibrary.(InteropLibrary.java:2941)
at com.oracle.truffle.polyglot.PolyglotValueDispatch.(PolyglotValueDispatch.java:170)
at com.oracle.truffle.polyglot.PolyglotImpl.initialize(PolyglotImpl.java:169)
at org.graalvm.polyglot.impl.AbstractPolyglotImpl.setConstructors(AbstractPolyglotImpl.java:288)
at org.graalvm.polyglot.Engine$1.loadAndValidateProviders(Engine.java:1107)
at org.graalvm.polyglot.Engine$1.run(Engine.java:1067)
at org.graalvm.polyglot.Engine$1.run(Engine.java:1061)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at org.graalvm.polyglot.Engine.initEngineImpl(Engine.java:1061)
at org.graalvm.polyglot.Engine$ImplHolder.(Engine.java:143)
at org.graalvm.polyglot.Engine.getImpl(Engine.java:367)
at org.graalvm.polyglot.Engine$Builder.build(Engine.java:665)
at cool.scx.live_room_watcher.util.GraalvmJSHelper.(GraalvmJSHelper.java:8)
at cool.scx.live_room_watcher.impl.douyin_hack.DouYinHackHelper.parseBody(DouYinHackHelper.java:35)
at cool.scx.live_room_watcher.impl.douyin_hack.DouYinHackLiveRoomInfo.(DouYinHackLiveRoomInfo.java:18)
at cool.scx.live_room_watcher.impl.douyin_hack.DouYinHackLiveRoomWatcher.getLiveRoomInfo(DouYinHackLiveRoomWatcher.java:142)
at cool.scx.live_room_watcher.impl.douyin_hack.DouYinHackLiveRoomWatcher.startWatch(DouYinHackLiveRoomWatcher.java:153)
at cool.scx.live_room_watcher.test.DouYinHackLiveRoomWatcherTest.tes1(DouYinHackLiveRoomWatcherTest.java:43)
at cool.scx.live_room_watcher.test.DouYinHackLiveRoomWatcherTest.main(DouYinHackLiveRoomWatcherTest.java:15)
signature 目前不是根据空来判断了,需要算了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.