爱下电子书

https://ixdzs8.com

xioabai2019 (14639)7小时前

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceGroup": "小说",
    "bookSourceName": "爱下电子书",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/ixdzs8.com",
    "bookUrlPattern": "https:\/\/ixdzs8\\.com\/read\/\\d+\/?",
    "customButton": false,
    "customOrder": 0,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "exploreUrl": "最近更新::\/new\/?page={{page}}\n完结小说::\/end\/?page={{page}}\n日榜::\/hot\/day\/?page={{page}}\n月榜::\/hot\/month\/?page={{page}}\n总榜::\/hot\/?page={{page}}\n玄幻奇幻::\/sort\/1\/index-0-0-0-{{page}}.html\n武侠小说::\/sort\/10\/index-0-0-0-{{page}}.html\n修真仙侠::\/sort\/2\/index-0-0-0-{{page}}.html\n都市青春::\/sort\/3\/index-0-0-0-{{page}}.html\n军事历史::\/sort\/4\/index-0-0-0-{{page}}.html\n网游竞技::\/sort\/5\/index-0-0-0-{{page}}.html\n科幻灵异::\/sort\/6\/index-0-0-0-{{page}}.html\n言情穿越::\/sort\/7\/index-0-0-0-{{page}}.html\n耽美同人::\/sort\/8\/index-0-0-0-{{page}}.html\n台言古言::\/sort\/9\/index-0-0-0-{{page}}.html\n其他小说::\/sort\/0\/index-0-0-0-{{page}}.html",
    "header": "{\"User-Agent\":\"Mozilla\/5.0 (Linux; Android 13; Pixel 7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/127.0.0.0 Mobile Safari\/537.36\"}",
    "lastUpdateTime": "1788330412645",
    "respondTime": 180000,
    "ruleBookInfo": {
        "name": ".n-text h1@text",
        "author": ".bauthor a@text",
        "intro": "#intro@text",
        "kind": ".tags a@text"
    },
    "ruleContent": {
        "content": "@js:\nvar tokenMatch = src.match(\/token\\s*=\\s*\"([^\"]+)\"\/);\nvar html = src;\nif (tokenMatch) {\n    var token = tokenMatch[1];\n    var tourl = baseUrl + \"?challenge=\" + encodeURIComponent(token);\n    html = java.ajax(tourl);\n}\nvar section = html.match(\/<section[^>]*>\\s*([\\s\\S]*?)\\s*<\\\/section>\/i);\nif (!section) {\n    \"\";\n} else {\n    var text = section[1]\n        .replace(\/<br\\s*\\\/?>\/gi, \"\\n\")\n        .replace(\/<\\\/p>\\s*<p[^>]*>\/gi, \"\\n\")\n        .replace(\/<\\\/?p[^>]*>\/gi, \"\")\n        .trim();\n    text;\n}"
    },
    "ruleExplore": {
        "author": ".bauthor a@text",
        "bookList": ".u-list li",
        "bookUrl": "a@href",
        "coverUrl": "img@src",
        "intro": ".l-p2@text",
        "kind": ".lz@text",
        "lastChapter": ".l-chapter@text",
        "name": "a@title",
        "wordCount": ".size@text"
    },
    "ruleSearch": {
        "author": ".bauthor a@text",
        "bookList": ".u-list li",
        "bookUrl": "a@href",
        "coverUrl": "img@src\n@js:\nif (result == \"https:\/\/img22.ixdzs.com\/nopic2.jpg\") {\n    null;\n} else {\n    result;\n}",
        "intro": ".l-p2@text",
        "kind": ".lz@text",
        "lastChapter": ".l-chapter@text",
        "name": "a@title",
        "wordCount": ".size@text"
    },
    "ruleToc": {
        "chapterList": "@js:\nvar bidMatch = baseUrl.match(\/read\\\/(\\d+)\/);\nif (!bidMatch) {\n    [];\n} else {\n    var bid = bidMatch[1];\n    var resp = java.post(source.getKey() + \"\/novel\/clist\/\", \"bid=\" + bid, {});\n    var json = JSON.parse(resp.body()).data;\n    var result = [];\n    var volume = \"\";\n    for (var i = 0; i < json.length; i++) {\n        var item = json[i];\n        if (item.ctype === \"1\") {\n            volume = item.title;\n            continue;\n        }\n        item.url = source.getKey() + \"\/read\/\" + bid + \"\/p\" + item.ordernum + \".html\";\n        item.volume = volume;\n        result.push(item);\n    }\n    result;\n}",
        "chapterName": "title",
        "chapterUrl": "url",
        "updateTime": "volume"
    },
    "searchUrl": "\/bsearch?q={{key}}&page={{page}}",
    "weight": 0
}
广告