[{"bookSourceComment":"【5200小说网 www.5271.net · 261201 制作】\n· 结构：Tengine 静态站。列表 \/html\/{分类}\/list_{页}.html、\/html\/{页}.html(新书)、\/quanben\/html\/{页}.html(完本)、\/rank\/{allvisit|monthvisit|weekvisit|goodnum}\/(TOP50 无分页)；详情 \/read\/txt{书号}.html 内含全量目录；正文 \/read\/{书号}\/{章号}.html 章内固定2页({章号}_2.html)。\n· ★搜索：站点搜索框是死的(form action=\"\"，POST \/ 只回首页；\/search\/、\/search、\/s\/、\/so\/、\/search.html、\/so.html、\/search.php、\/modules\/article\/search.php、\/index\/search、\/sousuo\/ 实测全 404 或回首页，真机网络复核一致)。故 searchUrl 改用站点真实可用的作者作品页 \/author\/{作者名}\/：搜作者名可列出其全部作品，搜书名返回空(非报错)。\n· 正文清洗：站点有 &amp;nb 断实体污染(约4成段落)与百度广告残片(baidu_clb_fill…、(最稳定)、[超多好看小说]、注册过°°网账号、最近转码严重…阅读模式)，已用 @js 逐段清洗；与章节名重复的首段\/尾段自动剔除。\n· 章内分页：nextContentUrl 只跟随 _数字.html(下一页)，排除『下一章\/书末页』，不会串章。\n· 目录：详情页含全部章节，JS 以『全部章节目录』链接为分界取其后的 rel=chapter 全量条目，避免最新章节重复与乱序；返回 java.util.ArrayList(JSON 字符串)，字段用 $.n\/$.u，兼容 Legado LT 与 legado-E。\n· 无登录(游客可读全站)、无发布页(全站无外链)。UA 内置 Chrome 移动端；concurrentRate=2\/1000 降低风控概率(追求极速可删)。","bookSourceGroup":"AI","bookSourceName":"📖5200小说网(5271)","bookSourceType":0,"bookSourceUrl":"http:\/\/www.5271.net","bookUrlPattern":"^https?:\/\/(?:www\\.)?5271\\.net\/read\/txt\\d+\\.html$","concurrentRate":"2\/1000","customButton":false,"customOrder":0,"enabled":true,"enabledCookieJar":true,"enabledExplore":true,"eventListener":false,"exploreUrl":"[{\"title\": \"武侠\", \"url\": \"http:\/\/www.5271.net\/html\/wuxiaxianxia\/list_{{page}}.html\"}, {\"title\": \"言情\", \"url\": \"http:\/\/www.5271.net\/html\/yanqing\/list_{{page}}.html\"}, {\"title\": \"玄幻\", \"url\": \"http:\/\/www.5271.net\/html\/xuanhuan\/list_{{page}}.html\"}, {\"title\": \"都市\", \"url\": \"http:\/\/www.5271.net\/html\/dushi\/list_{{page}}.html\"}, {\"title\": \"穿越\", \"url\": \"http:\/\/www.5271.net\/html\/chuanyue\/list_{{page}}.html\"}, {\"title\": \"科幻\", \"url\": \"http:\/\/www.5271.net\/html\/kehuanxiaoshuo\/list_{{page}}.html\"}, {\"title\": \"网游\", \"url\": \"http:\/\/www.5271.net\/html\/wangyou\/list_{{page}}.html\"}, {\"title\": \"同人\", \"url\": \"http:\/\/www.5271.net\/html\/tongren\/list_{{page}}.html\"}, {\"title\": \"历史\", \"url\": \"http:\/\/www.5271.net\/html\/lishi\/list_{{page}}.html\"}, {\"title\": \"惊悚\", \"url\": \"http:\/\/www.5271.net\/html\/jingsong\/list_{{page}}.html\"}, {\"title\": \"重生\", \"url\": \"http:\/\/www.5271.net\/html\/chongsheng\/list_{{page}}.html\"}, {\"title\": \"耽美\", \"url\": \"http:\/\/www.5271.net\/html\/danmei\/list_{{page}}.html\"}, {\"title\": \"全部新书\", \"url\": \"http:\/\/www.5271.net\/html\/{{page}}.html\"}, {\"title\": \"完本\", \"url\": \"http:\/\/www.5271.net\/quanben\/html\/{{page}}.html\"}, {\"title\": \"总排行榜\", \"url\": \"http:\/\/www.5271.net\/rank\/allvisit\/\"}, {\"title\": \"月排行榜\", \"url\": \"http:\/\/www.5271.net\/rank\/monthvisit\/\"}, {\"title\": \"周排行榜\", \"url\": \"http:\/\/www.5271.net\/rank\/weekvisit\/\"}, {\"title\": \"总收藏榜\", \"url\": \"http:\/\/www.5271.net\/rank\/goodnum\/\"}]","header":"{\"User-Agent\": \"Mozilla\/5.0 (Linux; Android 13; SM-G991B) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/120.0.0.0 Mobile Safari\/537.36\"}","lastUpdateTime":"1796112276144","respondTime":180000,"ruleBookInfo":{"author":"meta[property=og:novel:author]@content","coverUrl":"meta[property=og:image]@content","intro":"#bookintro@text##\\s*\\[展开\\]\\s*$","kind":"meta[property=og:novel:category]@content","lastChapter":"meta[property=og:novel:latest_chapter_name]@content","name":"meta[property=og:novel:book_name]@content","wordCount":"@js:(function(){try{var d=org.jsoup.Jsoup.parse(String(result||\"\"));var e=d.select(\"p.book-meta\");for(var i=0;i<e.size();i++){var s=String(e.get(i).text());if(s.indexOf(\"字数\")>=0)return s.replace(\/^[^：:]*[：:]\/,\"\").replace(\/^\\s+|\\s+$\/g,\"\");}return \"\";}catch(x){return \"\";}})()"},"ruleContent":{"content":"@js:(function(){var h=String(result||\"\");var doc=org.jsoup.Jsoup.parse(h);var tEl=doc.select(\"h1.read-book-chapter\");var t0=tEl.size()?String(tEl.get(0).text()):\"\";t0=t0.replace(\/（\\s*\\d+\\s*\\\/\\s*\\d+\\s*）\/g,\"\").replace(\/[\\s\\u3000]\/g,\"\");var cEl=doc.select(\"#content\");if(cEl.size()==0)return \"\";var s=String(cEl.html());s=s.replace(\/&amp;nbsp;\/g,\"\").replace(\/&amp;nb\/g,\"\").replace(\/&nbsp;\/g,\" \");s=s.replace(\/baidu_clb_fill[a-z0-9_]*\/gi,\"\").replace(\/r&gt;\/g,\"\").replace(\/&lt;font\/gi,\"\");s=s.replace(\/（最稳定[)）]?\/g,\"\").replace(\/\\[超多好看小说\\]\/g,\"\").replace(\/\\.t\\.\/g,\"\");s=s.replace(\/最近转码严重[\\s\\S]{0,80}?阅读模式。?(?:谢谢)?\/g,\"\");s=s.replace(\/[（(]本章完[）)]\/g,\"\");s=s.replace(\/无小说网[^，。！？]{0,8}不少字\/g,\"\").replace(\/小说网不少字\/g,\"\");s=s.replace(\/一秒记住[^，。！？]{0,20}[，。！？]?\/g,\"\").replace(\/请记住本站[^，。！？]{0,20}[，。！？]?\/g,\"\");var ps=s.split(\/<\\\/p>\/i);var out=[];var first=true;for(var i=0;i<ps.length;i++){var t=ps[i].replace(\/^\\s*<p[^>]*>\/i,\"\").replace(\/^\\s+|\\s+$\/g,\"\");if(!t)continue;var tx=t.replace(\/<[^>]+>\/g,\"\").replace(\/^\\s+|\\s+$\/g,\"\");if(!tx)continue;if(!\/[\\u4e00-\\u9fa5]\/.test(tx)&&tx.length<20)continue;if(tx.indexOf(\"注册过\")>=0&&tx.indexOf(\"账号\")>=0)continue;var tn=\"\";if(t0){tn=tx.replace(\/[\\s\\u3000]\/g,\"\");}if(first){first=false;if(t0&&tn.indexOf(t0)==0&&tn.length<=t0.length+8)continue;}if(t0&&tn==t0)continue;if(\/^第[0-9零一二三四五六七八九十百千万两]{1,12}[章节回][：: ]?[^，。！？；]{0,30}$\/.test(tx))continue;out.push(\"<p>\"+t+\"<\/p>\");}var nx=doc.select(\"#top-jump-page a.next\");var isLast=!(nx.size()>0&&String(nx.get(0).text()).indexOf(\"下一页\")>=0);if(isLast&&out.length>0){var lp=out[out.length-1].replace(\/<[^>]+>\/g,\"\").replace(\/^\\s+|\\s+$\/g,\"\");if(\/^喜欢[^。]{1,30}$\/.test(lp))out.pop();}return out.join(\"\");})()","nextContentUrl":"#top-jump-page a.next@href@js:(function(){var h=\"\";try{if(result&&typeof result===\"object\"){try{h=String(result.get(0));}catch(e1){try{h=String(result[0]);}catch(e2){h=\"\";}}}else{h=String(result||\"\");}}catch(e){}h=h.replace(\/^\\s+|\\s+$\/g,\"\");if(!h)return null;if(!\/_\\d+\\.html$\/.test(h))return null;return h;})()","title":"h1.read-book-chapter@text##（\\s*\\d+\\s*\/\\s*\\d+\\s*）"},"ruleExplore":{"author":".book-author@text","bookList":".book-li","bookUrl":"a.book-layout@href","coverUrl":"img.book-cover@data-echo||img.book-cover@src","intro":".book-desc@text","kind":"@js:(function(){try{var cats=\"武侠|言情|玄幻|都市|穿越|科幻|网游|同人|历史|惊悚|重生|耽美\";var e=result.select(\"em.tag-small\");for(var i=0;i<e.size();i++){var s=String(e.get(i).text());if(new RegExp(\"^(?:\"+cats+\")$\").test(s))return s;}return \"\";}catch(x){return \"\";}})()","name":".book-title@text"},"ruleSearch":{"author":".book-author@text","bookList":".book-li","bookUrl":"a.book-layout@href","coverUrl":"img.book-cover@data-echo||img.book-cover@src","intro":".book-desc@text","kind":"em.tag-small.gray@text","name":".book-title@text"},"ruleToc":{"chapterList":"@js:(function(){var h=String(result||\"\");var doc=org.jsoup.Jsoup.parse(h);var as=doc.select(\"#list a\");var out=new Packages.java.util.ArrayList();var started=false;for(var i=0;i<as.size();i++){var a=as.get(i);var href=String(a.attr(\"href\"));if(!started){if(href.indexOf(\"\/indexlist\/\")>=0)started=true;continue;}if(String(a.attr(\"rel\"))!=\"chapter\")continue;if(!href)continue;var n=String(a.text()).replace(\/^\\s+|\\s+$\/g,\"\");if(!n||href.indexOf(\"\/read\/\")<0)continue;out.add(JSON.stringify({n:n,u:href}));}if(out.size()==0){var seen={},arr=[];for(var k=as.size()-1;k>=0;k--){var b=as.get(k);var hu=String(b.attr(\"href\"));if(String(b.attr(\"rel\"))!=\"chapter\"||!hu||seen[hu]||hu.indexOf(\"\/read\/\")<0)continue;seen[hu]=1;arr.unshift({n:String(b.text()).replace(\/^\\s+|\\s+$\/g,\"\"),u:hu});}for(var m=0;m<arr.length;m++)out.add(JSON.stringify(arr[m]));}return out;})()","chapterName":"$.n","chapterUrl":"$.u"},"searchUrl":"http:\/\/www.5271.net\/author\/{{key}}\/","weight":0}]