得间小说🐜
https://wechat.idejian.com
chensmallant (7065)2024/07/27
上一个少上传了一部分 不要用上一个
{ "bookSourceComment": "", "bookSourceGroup": "", "bookSourceName": "得间小说🐜", "bookSourceType": 0, "bookSourceUrl": "https:\/\/wechat.idejian.com", "customOrder": 2, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "exploreUrl": "@js:\nvar url1=['https:\/\/www.idejian.com\/\/books\/nansheng?order=UID&categoryId=&page={{page}})'\n ,'https:\/\/www.idejian.com\/\/books\/nansheng?order=1&categoryId=UID&page={{page}})'\n ,'https:\/\/www.idejian.com\/\/books\/nvsheng?order=UID&categoryId=&page={{page}})'\n ,'https:\/\/www.idejian.com\/\/books\/nvsheng?order=1&categoryId=UID&page={{page}})'\n,'https:\/\/www.idejian.com\/\/books\/chuban?order=UID&categoryId=&page={{page}})'\n,'https:\/\/www.idejian.com\/\/books\/chuban?order=1&categoryId=UID&page={{page}})'];\nvar defaultTitle={'title': '','url': '','style': {'layout_flexGrow': 1, 'layout_flexBasisPercent': 1}};\nvar defaultContent={'title': '','url': '','style': {'layout_flexGrow': 1, 'layout_flexBasisPercent': 0.25}};\nvar tab1={'热度榜':'1','最新上架':'2','更新时间':'3','评分排行':'4'}\nvar tab2={'奇幻':'1114','玄幻':'1115','武侠':'1116','仙侠':'1117','都市':'1118','校园':'1119','历史':'1120','军事':'1121','游戏':'1122','竞技':'1123','科幻':'1124','灵异':'1125'}\nvar tab3={\"现代言情\":'1126',\"现代言情\":'1127',\"幻想言情\":'1128',\"青春校园\":'1129',\"同人作品\":'1130',\"惊悚恐怖\":'1132',\"青春校园\":'1133'}\nvar tab4={\"人文社科\":'1134',\"经营励志\":'1135',\"生活\":'1136',\"教育\":'1137',\"文学艺术\":'1138'}\nvar reultJson=[];\nvar AddTab =function(title,listMap,url){\n if(title!=='')AddSingleTab(title,'');\n for (var key in listMap) {\n if (listMap.hasOwnProperty(key)) {\n tempContent=JSON.parse(JSON.stringify(defaultContent));\n tempContent.title=key;\n tempContent.url=url.replace('UID',listMap[key]);\n reultJson.push(tempContent);\n }\n }\n}\nvar AddSingleTab =function(title,url){\n tempTitle=JSON.parse(JSON.stringify(defaultTitle));\n tempTitle.title=title;\n tempTitle.url=url;\n reultJson.push(tempTitle);\n}\n\n\nAddTab(\"༺ˇ»`ʚ男生ɞ´«ˇ༻\",tab1,url1[0]);\nAddTab(\"\",tab2,url1[1]);\nAddTab(\"༺ˇ»`ʚ女生ɞ´«ˇ༻\",tab1,url1[2]);\nAddTab(\"\",tab3,url1[3]);\nAddTab(\"༺ˇ»`ʚ出版ɞ´«ˇ༻\",tab1,url1[4]);\nAddTab(\"\",tab4,url1[5]);\n\nJSON.stringify(reultJson);", "header": "{\n\"User-Agent\":\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Safari\/537.36\"\n}", "jsLib": "", "lastUpdateTime": "1722079870783", "respondTime": 180000, "ruleBookInfo": { "author": "", "coverUrl": "", "init": "body", "intro": "desc", "kind": "bookInfo.multiCategory&&bookInfo.completeState&&bookInfo.popularity&&bookInfo.like&&bookInfo.tag@js:\nlet parts = String(result).split(',');\nlet isFloat=function (str) {\n return !isNaN(parseFloat(str)) && isFinite(str);\n }\nlet arr = [];\nfor (let i = 0; i < parts.length; i++) {\n if (parts[i].includes('{')) continue;\n t = \/name=([^}]+)\/gm.exec(parts[i]);\n if (t != null) {\n arr.push(t[1]);\n continue;\n }\n if (i < parts.length - 1) {\n if (isFloat(parts[i]) && !isFloat(parts[i + 1])) {\n arr.push(parts[i] + parts[i + 1]);\n i++;\n } else {\n arr.push(parts[i]);\n }\n\n } else {\n arr.push(parts[i].replace(']',''));\n }\n} \narr.toString();\n", "lastChapter": "newestChapter.lastChapter", "name": "", "tocUrl": "https:\/\/wechat.idejian.com\/api\/wechat\/allcatalog\/{{$.bookInfo.bookId}}?bookId={{$.bookInfo.bookId}}&page=1", "wordCount": "" }, "ruleContent": { "content": "body.content @js: result.replace(\/(<div[\\s\\S]+zhangyue-tablebody[\\s\\S]+<\\\/table>\\n.+)|(<h1.+text-title-1[\\s\\S]+<\\\/h1>)\/g,'')", "replaceRegex": "" }, "ruleExplore": { "author": ".bkitem_author@text", "bookList": ".v_books > li", "bookUrl": ".bkitem_name > a@href@js:`https:\/\/wechat.idejian.com\/api\/wechat${result}`", "coverUrl": "img@src", "intro": ".bkitem_brief@text", "kind": ".bkitem_types:nth-child(2)@text&&.bkitem_types:nth-child(3)@text", "lastChapter": "", "name": ".bkitem_name > a@text", "wordCount": ".bk_fontnum@text" }, "ruleReview": {}, "ruleSearch": { "author": ".author@text", "bookList": ".rank_ullist > li", "bookUrl": ".bk_brief_btn@href @js:`https:\/\/wechat.idejian.com\/api\/wechat${result}`", "coverUrl": "img@src", "intro": ".rank_bkbrief@text", "kind": "span:nth-child(3)@text&&.search_ohter > span:nth-child(1)@text", "lastChapter": ".rank_newpage > a@text", "name": ".rank_bkname@text", "wordCount": "span:nth-child(2) > i@text" }, "ruleToc": { "chapterList": "body.chapterList", "chapterName": "name", "chapterUrl": "https:\/\/wechat.idejian.com\/api\/wechat{{$.url}}##.html" }, "searchUrl": "https:\/\/www.idejian.com\/search?keyword={{key}}&page={{page}}", "weight": 0 }