群U聚合

https://jican.x7go.top

ji-changshu (11430)11/24 06:06

有30+平台

析的聚合源,禁止下载

支持艾特搜索

如有什么意见可以进1045608854

目前还是写源小白,可能写的有点不好

求大佬指教
二维码导入
{
    "bookSourceGroup": "析",
    "bookSourceName": "群U聚合",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/jican.x7go.top",
    "customOrder": -1,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "jsLib": "function getHost() {\n  return \"https:\/\/jican.x7go.top\"\n}",
    "lastUpdateTime": "1763935591179",
    "loginUi": "[{\"name\": \"📚 小说平台\",\"type\": \"button\",\"action\": \"showNovelToast()\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":1}},{\"name\": \"全部\",\"type\": \"button\",\"action\": \"sethost(1)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"番茄\",\"type\": \"button\",\"action\": \"sethost(2)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"七猫\",\"type\": \"button\",\"action\": \"sethost(3)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"QQ阅读\",\"type\": \"button\",\"action\": \"sethost(4)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"米读\",\"type\": \"button\",\"action\": \"sethost(5)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"塔读\",\"type\": \"button\",\"action\": \"sethost(6)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"书旗\",\"type\": \"button\",\"action\": \"sethost(7)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"晋江\",\"type\": \"button\",\"action\": \"sethost(8)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"百度\",\"type\": \"button\",\"action\": \"sethost(9)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"酷我\",\"type\": \"button\",\"action\": \"sethost(10)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"酷匠\",\"type\": \"button\",\"action\": \"sethost(11)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"QQ浏览器\",\"type\": \"button\",\"action\": \"sethost(12)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"番薯\",\"type\": \"button\",\"action\": \"sethost(13)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"福利小说\",\"type\": \"button\",\"action\": \"sethost(14)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"福瑞小说\",\"type\": \"button\",\"action\": \"sethost(15)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"人人\",\"type\": \"button\",\"action\": \"sethost(16)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"万相书城\",\"type\": \"button\",\"action\": \"sethost(17)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"独步小说\",\"type\": \"button\",\"action\": \"sethost(18)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"365小说\",\"type\": \"button\",\"action\": \"sethost(19)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"宜搜\",\"type\": \"button\",\"action\": \"sethost(20)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"69书吧\",\"type\": \"button\",\"action\": \"sethost(21)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"伪69\",\"type\": \"button\",\"action\": \"sethost(22)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"台湾小说网\",\"type\": \"button\",\"action\": \"sethost(23)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"猫眼\",\"type\": \"button\",\"action\": \"sethost(24)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"追更人\",\"type\": \"button\",\"action\": \"sethost(25)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"爱下电子书\",\"type\": \"button\",\"action\": \"sethost(26)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"速读谷\",\"type\": \"button\",\"action\": \"sethost(27)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"老福特\",\"type\": \"button\",\"action\": \"sethost(28)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"🎬 短剧平台\",\"type\": \"button\",\"action\": \"showDramaToast()\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":1}},{\"name\": \"番茄短剧\",\"type\": \"button\",\"action\": \"sethost(29)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"七猫短剧\",\"type\": \"button\",\"action\": \"sethost(30)\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":0.4}},{\"name\": \"💬 交流讨论\",\"type\": \"button\",\"action\": \"openQQGroup()\",\"style\": {\"layout_flexGrow\": 1,\"layout_flexBasisPercent\":1}}]",
    "loginUrl": "var hosts = [\n    \"全部\",\n    \"番茄\",\n    \"七猫\",\n    \"QQ阅读\",\n    \"米读\",\n    \"塔读\",\n    \"书旗\",\n    \"晋江\",\n    \"百度\",\n    \"酷我\",\n    \"酷匠\",\n    \"QQ浏览器\",\n    \"番薯\",\n    \"福利小说\",\n    \"福瑞小说\",\n    \"人人\",\n    \"万相书城\",\n    \"独步小说\",\n    \"365小说\",\n    \"宜搜\",\n    \"69书吧\",\n    \"伪69\",\n    \"台湾小说网\",\n    \"猫眼\",\n    \"追更人\",\n    \"爱下电子书\",\n    \"速读谷\",\n    \"老福特\",\n    \"番茄短剧\",\n    \"七猫短剧\"\n];\n\nfunction sethost(index) {\n    if (index >= 1 && index <= hosts.length) {\n        source.setVariable(JSON.stringify([{\"host\": hosts[index-1]}]));\n        java.toast(\"当前搜索:\" + hosts[index-1]);\n    }\n}\n\nfunction openQQGroup() {\n    java.startBrowserAwait(\"https:\/\/qm.qq.com\/q\/YUMTmrjqYW\", \"交流讨论\");\n}\n\nfunction showNovelToast() {\n    java.toast(\"📚 下方是小说平台\");\n}\n\nfunction showDramaToast() {\n    java.toast(\"🎬 下方是短剧平台\");\n}\n\nfunction login() {}",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "$.result.author",
        "coverUrl": "$.result.cover_url",
        "intro": "$.result.abstract",
        "kind": "$.result.source",
        "name": "$.result.title",
        "tocUrl": "https:\/\/jican.x7go.top\/catalog?book_id={{$.result.book_id}}&source={{$.result.source}}"
    },
    "ruleContent": {
        "content": "@js:\nvar json = JSON.parse(result);\nvar content = json.data[0].content;\nif(content && content.startsWith('https:\/\/')) {\n    \/\/ 如果是视频链接\n    if(book.durChapterIndex == chapter.index) {\n        java.startBrowser(content.replace(\/\\\\\/g, ''), chapter.title);\n        java.toast('正在加载视频\\n视频加载较慢,请耐心等待');\n    }\n    result = '【刷新正文】播放\\n✅直链:\\n' + content;\n} else {\n    result = content;\n}\nresult"
    },
    "ruleExplore": {},
    "ruleSearch": {
        "author": "$.author",
        "bookList": "$.results",
        "bookUrl": "https:\/\/jican.x7go.top\/detail?book_id={{$.book_id}}&source={{$.source}}",
        "checkKeyWord": "诡秘之主",
        "coverUrl": "$.cover_url",
        "intro": "$.abstract",
        "kind": "$.source",
        "lastChapter": "$.source",
        "name": "$.title"
    },
    "ruleToc": {
        "chapterList": "$.chapters<js>java.put('book_id', java.getString('$.book_id')); java.put('source', java.getString('$.source')); result<\/js>",
        "chapterName": "$.title",
        "chapterUrl": "<js>var host = getHost(); \nvar bookId = java.get('book_id'); \nvar sourceVal = java.get('source'); \nvar itemId = java.getString('$.item_id'); \nhost + '\/content?book_id=' + bookId + '&item_id=' + itemId + '&source=' + encodeURIComponent(sourceVal);<\/js>"
    },
    "searchUrl": "@js:\n(function() {\n    var sourceVal = '全部';\n    try {\n        var userSource = source.getVariable();\n        if (userSource != null && String(userSource).length > 0) {\n            \/\/ 解析JSON格式的变量\n            var userObj = JSON.parse(userSource);\n            if (userObj && userObj[0] && userObj[0].host) {\n                sourceVal = userObj[0].host;\n            }\n        }\n    } catch (e) {\n        java.log('获取用户来源失败,使用默认值');\n    }\n    return getHost() + '\/search?q={{key}}&source=' + encodeURIComponent(sourceVal);\n})();\n",
    "weight": 0
}
广告