篱笆好文学
https://www.m.libahao2.com
hazfsh (14534)08/24 17:08
篱笆好文学:在之前各位大佬分享的基础上,解决了缺章的问题
{
"bookSourceGroup": "置顶",
"bookSourceName": "篱笆好文学",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.m.libahao2.com",
"customOrder": 17,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "[{\"title\":\"首页\",\"url\":\"\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻魔法\",\"url\":\"\/xuanhuan\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"武侠修真\",\"url\":\"\/xiuzhen\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"都市言情\",\"url\":\"\/dushi\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"历史军事\",\"url\":\"\/lishi\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"游戏竞技\",\"url\":\"\/wangyou\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"科幻灵异\",\"url\":\"\/kehuan\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"女生言情\",\"url\":\"\/nvpin\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"其他小说\",\"url\":\"\/qita\/{{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}]",
"lastUpdateTime": "1787562519136",
"respondTime": 180000,
"ruleBookInfo": {
"author": ".book-info p:contains(作者)@text",
"coverUrl": ".book-info img@src",
"intro": ".book-info p:contains(简介)@text",
"kind": ".book-info p:contains(类别) a@text",
"lastChapter": ".book-info p:contains(最新章节) a@text",
"name": ".book-info h1@text",
"wordCount": ".book-info p:contains(最新更新时间)@text"
},
"ruleContent": {
"content": ".chapter-content@html",
"nextContentUrl": ".footer-nav a:contains(下一页)@href",
"replaceRegex": "##本章结束,点击继续阅读"
},
"ruleExplore": {
"author": "td:nth-child(4)@text",
"bookList": ".latest-updates tbody tr",
"bookUrl": "td:nth-child(2) a@href",
"coverUrl": "td:nth-child(2) a@href@js:(match = result.match(\/_(\\d+)\\\/\/)) ? 'https:\/\/www.libahao.com\/data\/image\/' + match[1] + '.jpg' : ''",
"lastChapter": "td:nth-child(3) a@text",
"name": "td:nth-child(2) a@text"
},
"ruleSearch": {
"author": ".book-author@text",
"bookList": ".book-list a",
"bookUrl": "a.0@href",
"checkKeyWord": "你好",
"coverUrl": "img@src",
"intro": ".book-description@text",
"name": ".book-title@text"
},
"ruleToc": {
"chapterList": "@js:var html=result;var regex=\/<a[^>]*href=[\"'](\\\/book\\\/[^\"']+\\.html)[\"'][^>]*>([\\s\\S]*?)<\\\/a>\/g;var match;var out=[];var i=0;while((match=regex.exec(html))!==null){i++;var href=match[1];var title=match[2].replace(\/<[^>]+>\/g,'').replace(\/^\\s+|\\s+$\/g,'');var m=title.match(\/第\\s*(\\d+)\/);var n=m?m[1]:String(i);var url=href.replace(\/\\\/\\d+\\.html$\/,'\/'+n+'.html');out.push(title+'\\t'+url);}out;",
"chapterName": "@js:String(result).split('\\t')[0]",
"chapterUrl": "@js:String(result).split('\\t')[1]"
},
"searchUrl": "https:\/\/m.libahao2.com\/sou?wd={{key}}",
"weight": 0
}