夜寒书库

https://www.yehanshu.com

cfyyzl (92)2023/08/03

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceComment": "搜索间隔30秒",
    "bookSourceGroup": "自制,源仓库,网页源",
    "bookSourceName": "夜寒书库",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.yehanshu.com",
    "bookUrlPattern": "https:\/\/www.yehanshu.com\/book\/\\d+\/",
    "customOrder": 0,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "exploreUrl": "首页::\/\n玄幻::\/list\/xuanhuan\/{{page}}\/\n武侠::\/list\/wuxia\/{{page}}\/\n言情::\/list\/yanqing\/{{page}}\/\n科幻::\/list\/kehuan\/{{page}}\/\n网游::\/list\/wangyou\/{{page}}\/\n都市::\/list\/dushi\/{{page}}\/\n历史::\/list\/lishi\/{{page}}\/\n古典::\/list\/gudian\/{{page}}\/\n全本::\/quanben\/list\/\n热门::\/rank\/allvisit\/\n记录::\/history.html",
    "header": "{\n\t\"User-Agent\":\"Mozilla\/5.0 (Linux; Android 9) Mobile Safari\/537.36\",\"Referer\":\"{{baseUrl}}\"\n\t}",
    "lastUpdateTime": 1691024817227,
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "@get:{a}",
        "coverUrl": "@get:{c}",
        "init": "@put:{n:\"[property$=book_name]@content\",\n\ta:\"[property$=author]@content\",\nk:\"[property~=category|status|update_time]@content\",\nw:\"text.字数:@text##字数:\",\nl:\"[property$=latest_chapter_name]@content\",\ni:\"[property$=description]@content\",\nc:\"[property$=image]@content\",\nt:\"text.章节目录@href\"}",
        "intro": "@get:{i}",
        "kind": "@get:{k}",
        "lastChapter": "@get:{l}",
        "name": "@get:{n}",
        "tocUrl": "@get:{t}",
        "wordCount": "@get:{w}"
    },
    "ruleContent": {
        "content": "#booktxt@html",
        "nextContentUrl": "text.下一页@href"
    },
    "ruleExplore": {},
    "ruleReview": {},
    "ruleSearch": {
        "author": ".btm a@text",
        "bookList": ".item",
        "bookUrl": "a.1@href",
        "checkKeyWord": "剑来",
        "coverUrl": "img@data-original",
        "intro": "dd@text",
        "kind": "em.-1@text",
        "name": "a.1@text",
        "wordCount": "em.-2@text"
    },
    "ruleToc": {
        "chapterList": "#content_1 a",
        "chapterName": "text",
        "chapterUrl": "href",
        "nextTocUrl": "option@value||text.下一页@href"
    },
    "searchUrl": "@js:\n\nvar url=source.getKey();\n\nvar html = java.ajax(url);\n\nso = org.jsoup.Jsoup.parse(html).select('form[name=search]').attr('action');\n\nurl+so+\",\"+JSON.stringify({\n  \"body\": \"searchkey={{key}}\",\n  \"method\": \"post\"\n})",
    "weight": 0
}
广告