diff --git a/jar/spider.jar b/jar/spider.jar index addce6e..82abd30 100644 Binary files a/jar/spider.jar and b/jar/spider.jar differ diff --git a/json/config.json b/json/config.json index a2f688c..27eca71 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "../jar/spider.jar;md5;46bed5fa69cfaf9aa2aec90250756a7f", + "spider": "../jar/spider.jar;md5;acef64807e7c10c8b665e51ff4e5e9d0", "sites": [ { "key": "Douban", diff --git a/json/configAll.json b/json/configAll.json index 63529c2..36b59c2 100644 --- a/json/configAll.json +++ b/json/configAll.json @@ -1,5 +1,5 @@ { - "spider": "../jar/spider.jar;md5;46bed5fa69cfaf9aa2aec90250756a7f", + "spider": "../jar/spider.jar;md5;acef64807e7c10c8b665e51ff4e5e9d0", "sites": [ { "key": "Douban", diff --git a/src/main/java/com/github/catvod/spider/NG.kt b/src/main/java/com/github/catvod/spider/NG.kt index 69ac80b..9b866a6 100644 --- a/src/main/java/com/github/catvod/spider/NG.kt +++ b/src/main/java/com/github/catvod/spider/NG.kt @@ -120,7 +120,7 @@ class NG: Spider() { SpiderDebug.log("ng detail err: ${dt.msg}") return Result.error(dt.msg) } - return Result.string(dt.data.toVod()) + return Result.string(dt.data.toVod().apply { setVodId(ids[0]) }) } override fun playerContent(flag: String, id: String, vipFlags: MutableList): String { diff --git a/src/test/java/NgTest.kt b/src/test/java/NgTest.kt index 347f1d1..0586307 100644 --- a/src/test/java/NgTest.kt +++ b/src/test/java/NgTest.kt @@ -31,6 +31,7 @@ class NgTest:TestInterface { @Test override fun playTest() { val playerContent = t.playerContent("", "http://43.248.129.14:20240/?url=https://svipsvip.ffzyread1.com/20240627/28803_0fc1e40f/index.m3u8", mutableListOf()) +// val playerContent = t.playerContent("", "https://json.oorl.cn/api/svip.php?key=aYqmunbBybpvTu6hnZ&url=https://v.youku.com/v_show/id_XNjIyMjUxMzM2.html", mutableListOf()) println(playerContent) }