微信扫一扫 分享朋友圈

已有 16 人浏览分享

爱巴士

[复制链接]

6406

主题

0

回帖

1万

积分

管理员

积分
14907

最佳新人活跃会员热心会员推广达人宣传达人灌水之王突出贡献优秀版主荣誉管理论坛元老

发表于 2025-5-10 15:11:00 | 显示全部楼层 | 阅读模式
{
    "bookSourceComment": "\/\/2024.12.13 ◎夜泽川◎",
    "bookSourceGroup": "",
    "bookSourceName": "爱巴士",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.ibus233.com\/",
    "customOrder": 42,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "exploreUrl": "@js: var result = [];\njava.toast(\"🔥动态获取发现中……\");\nvar push=(title,url,size)=>result.push({\n  \t\"title\": title,\n  \t\"url\": url,\n  \t\"style\": {\n   \"layout_flexGrow\": 1,\n   \"layout_flexBasisPercent\": size\n   }\n });\nvar tag = java.ajax(\"https:\/\/www.ibus233.com\/category\");\nif (tag) {\na=org.jsoup.Jsoup.parse(tag).select(\".list a\");\npush(\"分类\",null,1)\n    for(i in a){\n        title=a[i].text()\n        url=a[i].attr(\"href\")\n        size=0.4\n        title=String(title).replace(\/\\s\/,\"\");\n  url=String(url).replace(\/^\/,\"https:\").replace(\/$\/i,\"_{{page}}\");\n        push(title,url,size)\n    };\n      } else { \n      java.toast(\"🚫发现获取失败……\");\n}\nJSON.stringify(result);",
    "lastUpdateTime": "1734363496692",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": ".auth@text",
        "coverUrl": "",
        "intro": ".intro p@text",
        "kind": ".tags a@text",
        "name": "h1@text",
        "tocUrl": "a[href~=catalog]@href"
    },
    "ruleContent": {
        "content": ".article@html||.nochapter@html",
        "nextContentUrl": "",
        "replaceRegex": "##\\n.*华丽的分割线[\\s\\S]*"
    },
    "ruleExplore": {
        "author": "h2@text##.*by",
        "bookList": ".g-list@li",
        "bookUrl": "a.0@href##^##https:",
        "kind": ".tags span@text",
        "name": "h2@text##by.*"
    },
    "ruleSearch": {
        "author": "$.auth",
        "bookList": "$.data.list",
        "bookUrl": "https:\/\/www.ibus233.com\/novel\/{{$._id}}",
        "checkKeyWord": "",
        "kind": "$.tags",
        "name": "$.name"
    },
    "ruleToc": {
        "chapterList": ".list a",
        "chapterName": "text",
        "chapterUrl": "href##^##https:",
        "nextTocUrl": ".section-list@a@href##^##https:"
    },
    "searchUrl": "<js>\nsckey = org.jsoup.Jsoup.parse(java.ajax(source.key + \"search\")).select(\".page-search\").attr(\"data-id\");\njava.log(sckey);\nbody = {\n  \"body\": `name=${key}&tags=&type=3&tt=&page_index=${page}&app=2&searchkey=${sckey}`,\n  \"headers\":{\"Referer\":source.key},\n  \"method\": \"POST\"\n}\nresult = source.key + \"api\/search\/list\" + \",\" + JSON.stringify(body);\nresult;\n<\/js>",
    "weight": 0
}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

0

关注

0

粉丝

6406

主题
  • 微信公众平台

  • 扫描访问手机版

Archiver|手机版|小黑屋|永恒资源网

GMT+8, 2025-7-18 17:48 , Processed in 0.142201 second(s), 32 queries .

Powered by 永恒资源网

Copyright © 2001-2025, Tencent Cloud.