Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

斗鱼不能录制 #122

Closed
ASFLY61 opened this issue Nov 12, 2023 · 2 comments
Closed

斗鱼不能录制 #122

ASFLY61 opened this issue Nov 12, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@ASFLY61
Copy link

ASFLY61 commented Nov 12, 2023

系统:windows11 23H2
工具版本:version v2.26.0
java版本:
java 19.0.1 2022-10-18
Java(TM) SE Runtime Environment (build 19.0.1+10-21)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
运行报错如下,输入未开播的斗鱼房间号可以正常输入信息,输入开播的房间号就提示这个错误,是java版本的问题吗
java -Dfile.encoding=utf-8 -jar BiliLiveRecorder.jar "debug=flase&liver=douyu"
douyu 直播录制 version v2.26.0
请输入房间号(直播网址是https://xxx.com/xxx,那么房间号就是xxx)
8825216
发现cookie配置
java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(String)" because "engine" is null
at nicelee.bilibili.util.JSEngine.run(JSEngine.java:48)
at nicelee.bilibili.live.impl.RoomDealerDouyu.getLiveObj(RoomDealerDouyu.java:152)
at nicelee.bilibili.live.impl.RoomDealerDouyu.getRoomInfo(RoomDealerDouyu.java:109)
at nicelee.bilibili.Main.getRoomInfo(Main.java:153)
at nicelee.bilibili.Main.main(Main.java:86)
org.json.JSONException: JSONObject["data"] is not a JSONObject.
at org.json.JSONObject.getJSONObject(JSONObject.java:770)
at nicelee.bilibili.live.impl.RoomDealerDouyu.getRoomInfo(RoomDealerDouyu.java:110)
at nicelee.bilibili.Main.getRoomInfo(Main.java:153)
at nicelee.bilibili.Main.main(Main.java:86)
解析失败!!

@nICEnnnnnnnLee nICEnnnnnnnLee added the bug Something isn't working label Nov 13, 2023
@nICEnnnnnnnLee nICEnnnnnnnLee added this to the V2.27.0 milestone Nov 13, 2023
@nICEnnnnnnnLee
Copy link
Owner

从JDK15开始删除了默认的JS引擎实现,只保留了接口。

在新版本发布前请使用CI编译的artifacts。-->传送门

Copy link

由于长期没有状态更新,该问题自动关闭。如有需要可重新打开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants