mirror of https://github.com/FongMi/TV.git
对`quickjs/src/main/java/com/fongmi/quickjs/crawler/Spider.java`进行了两处修改: 1. 修复了在`init`方法中解析`ext`参数时可能出现的`QuickJSException: Must be call same thread`异常。通过将`ctx.parse(extend)`调用移至`submit()`中,确保其在正确的线程执行。 2. 在`createFun`方法中增加了对`dex`对象的空指针检查,避免了在配置文件中未提供`jar`时引发的`NullPointerException`。pull/609/head
parent
bd2446403a
commit
aedbb0447c
Loading…
Reference in new issue