Giter Site home page Giter Site logo

无法搜索书籍 about reader HOT 5 CLOSED

hectorqin avatar hectorqin commented on May 19, 2024
无法搜索书籍

from reader.

Comments (5)

hectorqin avatar hectorqin commented on May 19, 2024

应该是源不兼容,可能对使用js的源不太支持,换个源应该就可以了

from reader.

uni-pai avatar uni-pai commented on May 19, 2024

请问能提供一个源的例子吗?
我尝试了各种书源都是这样的问题。

from reader.

hectorqin avatar hectorqin commented on May 19, 2024

https://github.com/safino9/SourceGo/blob/main/book_source/all.json

from reader.

uni-pai avatar uni-pai commented on May 19, 2024

依旧是该问题。具体后端数据如下:
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.

hectorqin avatar hectorqin commented on May 19, 2024

这个源用了 javascript,目前不要使用 javascript 的源

from reader.

Related Issues (20)

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.