{
"bookSourceComment": "",
"bookSourceGroup": "传统",
"bookSourceName": "飞库文学网",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.feiku6.com",
"customOrder": 11,
"enabled": true,
"enabledExplore": false,
"exploreUrl": "",
"lastUpdateTime": 1650064267802,
"respondTime": 180000,
"ruleBookInfo": {
"author": ".g_col_8@tag.p@tag.span.0@text",
"coverUrl": ".book-cover-blur@src",
"init": "",
"intro": ".g_col_8@tag.div.1@text",
"lastChapter": ".lst-chapter@href",
"name": ".g_col_8@tag.h1@text",
"tocUrl": "@js:baseUrl.replace('book', 'files\/book\/scripts').replace('.html', '\/catalog.js')",
"wordCount": ".g_col_8@tag.p@tag.span.2@text"
},
"ruleContent": {
"content": "#artWrap@html",
"replaceRegex": ""
},
"ruleExplore": {
"bookList": ""
},
"ruleSearch": {
"author": "$.aName",
"bookList": "$.data",
"bookUrl": "https:\/\/www.feiku6.com\/book\/{$.bUrl}.html",
"coverUrl": "$.img",
"intro": "$.bDesc",
"kind": "$.cat",
"lastChapter": "$.lcName",
"name": "$.bName",
"wordCount": "$.cnt"
},
"ruleToc": {
"chapterList": "@js:\nvar n=JSON.parse(result.replace('var chapterList=','')).bookVolumeList;\nvar list = [];\nn.forEach((e) => { \n e.bookChapterList.forEach((a)=>{\n\t \/\/java.log(a.id);\n list.push({href:baseUrl.replace('files\/book\/scripts', 'read').replace('catalog.js', a.id)+'.html', text:a.chapter_name});\n });\n});\n\/\/list.shift();\nlist",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "@js:\nvar URL = \"https:\/\/www.feiku6.com\/searchBook.html\";\nvar name = \"COOKIE_IS_ENABLED_COOKIE\";\nvar resp = java.get(URL, {});\nvar headers = {\n\t\/\/\"origin\": URL, \n\t\"referer\": URL,\n\t\"cookie\": name+\"=\"+resp.cookie(name)};\nvar body = \"site=3&page_num=1&keyword={{key}}&order_type=1\";\n var option = {\n \"method\": \"POST\",\n \"body\": String(body),\n \"headers\": headers,\n };\n \"https:\/\/www.feiku6.com\/api\/book\/list,\" + JSON.stringify(option)",
"weight": 0
}