Comments (5)
应该是源不兼容,可能对使用js的源不太支持,换个源应该就可以了
from reader.
请问能提供一个源的例子吗?
我尝试了各种书源都是这样的问题。
from reader.
https://github.com/safino9/SourceGo/blob/main/book_source/all.json
from reader.
依旧是该问题。具体后端数据如下:
2021-09-04 13:56:06 [main] INFO o.l.reader.ReaderApplicationKt - Starting ReaderApplicationKt on {PC name} with PID 10172 (F:\Reader linux\reader-1.0.0.jar started by {name} in F:\Reader linux) 2021-09-04 13:56:06 [main] DEBUG o.l.reader.ReaderApplicationKt - Running with Spring Boot v2.1.6.RELEASE, Spring v5.1.8.RELEASE 2021-09-04 13:56:06 [main] INFO o.l.reader.ReaderApplicationKt - No active profile set, falling back to default profiles: default 2021-09-04 13:56:09 [vert.x-eventloop-thread-2] INFO org.lightink.reader.api.YueduApi - port: 8080 2021-09-04 13:56:09 [vert.x-eventloop-thread-2] INFO org.lightink.reader.api.YueduApi - serverPort: 8080 2021-09-04 13:56:09 [vert.x-eventloop-thread-2] INFO org.lightink.reader.utils.VertExt - storage key: bookSource path: F:\Reader linux\storage\bookSource.json 2021-09-04 13:56:09 [main] INFO o.l.reader.ReaderApplicationKt - Started ReaderApplicationKt in 4.723 seconds (JVM running for 5.814) 2021-09-04 13:56:09 [vert.x-eventloop-thread-2] INFO org.lightink.reader.utils.VertExt - storage key: bookInfoCache path: F:\Reader linux\storage\bookInfoCache.json 2021-09-04 13:56:10 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - port: 8080 2021-09-04 13:56:13 [vert.x-eventloop-thread-2] WARN i.v.e.w.h.impl.LoggerHandlerImpl - 0:0:0:0:0:0:0:1 - - [Sat, 04 Sep 2021 05:56:12 GMT] "GET /web/js/theme/default/layer.css?v=3.1.1 HTTP/1.1" 404 53 "http://localhost:8080/web/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" 2021-09-04 13:56:13 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request url: http://localhost:8080/reader3/getBookshelf?refresh=0 2021-09-04 13:56:13 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request body: 2021-09-04 13:56:13 [DefaultDispatcher-worker-1] INFO org.lightink.reader.utils.VertExt - storage key: bookshelf path: F:\Reader linux\storage\bookshelf.json 2021-09-04 13:56:13 [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 0:0:0:0:0:0:0:1 - - [Sat, 04 Sep 2021 05:56:13 GMT] "GET /reader3/getBookshelf?refresh=0 HTTP/1.1" 200 42 "http://localhost:8080/web/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" 2021-09-04 13:56:13 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request url: http://localhost:8080/reader3/getSources 2021-09-04 13:56:13 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request body: 2021-09-04 13:56:13 [DefaultDispatcher-worker-1] INFO org.lightink.reader.utils.VertExt - storage key: bookSource path: F:\Reader linux\storage\bookSource.json 2021-09-04 13:56:13 [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 0:0:0:0:0:0:0:1 - - [Sat, 04 Sep 2021 05:56:13 GMT] "GET /reader3/getSources HTTP/1.1" 200 420697 "http://localhost:8080/web/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36" 2021-09-04 13:56:25 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request url: http://localhost:8080/reader3/searchBook?key=浠欑帇&bookSourceUrl=http://www.bixiange.me 2021-09-04 13:56:25 [vert.x-eventloop-thread-2] INFO o.l.reader.verticle.RestVerticle - request body: 2021-09-04 13:56:25 [DefaultDispatcher-worker-1] INFO org.lightink.reader.api.YueduApi - searchBook Exception in thread "DefaultDispatcher-worker-1" java.lang.IllegalAccessError: class com.sun.script.javascript.RhinoScriptEngine (in unnamed module @0x7006c658) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x7006c658 at com.sun.script.javascript.RhinoScriptEngine.getLanguageVersion(RhinoScriptEngine.java:154) at com.sun.script.javascript.RhinoScriptEngine.<clinit>(RhinoScriptEngine.java:97) at com.sun.script.javascript.RhinoScriptEngineFactory.getScriptEngine(RhinoScriptEngineFactory.java:78) at java.scripting/javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:241) at io.legado.app.constant.AppConst$SCRIPT_ENGINE$2.invoke(AppConst.kt:17) at io.legado.app.constant.AppConst$SCRIPT_ENGINE$2.invoke(AppConst.kt:7) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at io.legado.app.constant.AppConst.getSCRIPT_ENGINE(AppConst.kt) at io.legado.app.model.analyzeRule.AnalyzeUrl.replaceKeyPageJs(AnalyzeUrl.kt:138) at io.legado.app.model.analyzeRule.AnalyzeUrl.<init>(AnalyzeUrl.kt:67) at io.legado.app.model.analyzeRule.AnalyzeUrl.<init>(AnalyzeUrl.kt:40) at io.legado.app.model.WebBook.searchBook(WebBook.kt:32) at org.lightink.reader.api.YueduApi.searchBook(YueduApi.kt:338) at org.lightink.reader.api.YueduApi$initRouter$13.invokeSuspend(YueduApi.kt:79) at org.lightink.reader.api.YueduApi$initRouter$13.invoke(YueduApi.kt) at org.lightink.reader.verticle.RestVerticle$coroutineHandler$1$job$1.invokeSuspend(RestVerticle.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594) at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
from reader.
这个源用了 javascript,目前不要使用 javascript 的源
from reader.
Related Issues (20)
- 希望优化下手机端,PWA模式下阅读体验,比如点击翻页的时候,总是会选择文本 HOT 4
- EPUB文件如果是htm不是html则无法注入js调整页面高度 HOT 2
- PDF不能正常获取TOC和封面截图,只能显示output-x.png作为目录 HOT 4
- 大佬,阅读器关闭网页,隔天打开还是在登录状态。 HOT 1
- 竖排书籍无法正常翻页 HOT 1
- 书源失效时服务器缓存不起作用 HOT 1
- [web]导入的本地书籍在其他设备无法阅读 HOT 1
- 不能用,打开就闪退 HOT 1
- [WEB]: 希望能添加TTS语音接口设置 HOT 9
- 使用nginx反向代理的redaer自带webdav作为阅读3.0的备份服务器,在阅读3.0导入远程书籍时显示超时
- 使用nginx反向代理的redaer自带webdav作为阅读3.0的备份服务器,在阅读3.0导入远程书籍时显示超时
- 使用nginx反向代理的redaer自带webdav作为阅读3.0的备份服务器,在阅读3.0导入远程书籍时显示超时 HOT 2
- 安卓web封面显示问题 HOT 1
- 不能盲搜书籍吗? HOT 3
- 翻页,自动阅读相关问题 HOT 1
- Kindle的浏览器打不开 HOT 2
- Railway部署失败 HOT 1
- Server:docker搭建的阅读,会经常提示错误 io.vertx.core.json.DecodeException…… HOT 1
- 在ios上使用时,如果在打开的图书界面,直接刷新,会导致界面卡主,按钮都不可用 HOT 6
- [server]博趣网(www.bq0.net)不能搜索小说(该网站搜索和阅读时需要填写验证码) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reader.