{
"bookSourceGroup": "置顶搜书",
"bookSourceName": "乡村小说网(感谢)",
"bookSourceUrl": "https:\/\/www.zhnxcw.com",
"enable": true,
"loginUrl": "",
"ruleBookAuthor": "author",
"ruleBookContent": ".yd_text2@html",
"ruleBookContentReplace": "##.*下一页继续阅读\\s|p1\\(\\)\\s+|www..com|\\s.*一起聊.*优读文学.*",
"ruleBookInfoInit": "@js:\n(function(){\n let doc = org.jsoup.Jsoup.parse(result)\n let og = (selector) => doc.select('[property=\"og:' + selector + '\"]').attr('content')\n return {\n name: og('novel:book_name'),\n author: og('novel:author'),\n kind: og('novel:category'),\n latest: og('novel:latest_chapter_name')+' · '+String(og('novel:update_time')),\n cover: og('image'),\n intro: og('description'),\n url:og('novel:read_url')\n }\n})()",
"ruleBookKind": "kind",
"ruleBookLastChapter": "latest",
"ruleBookName": "name",
"ruleBookUrlPattern": "",
"ruleChapterList": ".ml_main dl dd a",
"ruleChapterName": "text",
"ruleChapterUrl": "url",
"ruleContentUrl": "href",
"ruleContentUrlNext": "text.下一页@href",
"ruleCoverUrl": "cover",
"ruleFindList": "",
"ruleFindUrl": "",
"ruleIntroduce": "intro",
"ruleSearchAuthor": "author",
"ruleSearchCoverUrl": "cover",
"ruleSearchIntroduce": "intro",
"ruleSearchKind": "kind",
"ruleSearchLastChapter": "latest",
"ruleSearchList": "tbody@tr!0@js:\nresult\n .toArray()\n .slice(0, 5)\n .map(function (el) {\n let url = String(el.select('a:eq(0)').attr('href'))\n let doc = org.jsoup.Jsoup.parse(String(java.ajax(url)))\n let og = selector => doc.select('[property=\"og:' + selector + '\"]').attr('content')\n return {\n name: og('novel:book_name'),\n author: og('novel:author'),\n kind: og('novel:category'),\n latest: og('novel:latest_chapter_name')+' · '+String(og('novel:update_time')),\n cover: og('image'),\n intro: og('description'),\n url:og('novel:read_url')\n }\n })",
"ruleSearchName": "name",
"ruleSearchNoteUrl": "url",
"ruleSearchUrl": "\/modules\/article\/search.php?searchtype=articlename&searchkey=searchKey|char=GBK",
"serialNumber": 0,
"weight": 0
}