[{"bookSourceComment":"笔趣阁移动版(m.lianaiya.com)\n1. 站点带WAF挑战(503+token)，已在各JS字段内联自动设置 waf_challenge Cookie（未用jsLib，规避部分版本jsLib作用域java绑定异常）\n2. 搜索接口实际需UTF-8编码(表单标注gbk无效)，站点有搜索频率限制，已设并发间隔1000ms\n3. 正文自动合并分页(_N.html)，清理广告行与页码标记\n4. 目录取「全部章节列表」节点，避免最新章节预览重复\n5. 需手机UA(PC UA会被站点屏蔽)","bookSourceGroup":"笔趣阁","bookSourceName":"笔趣阁·恋爱呀","bookSourceType":0,"bookSourceUrl":"https:\/\/m.lianaiya.com\/","bookUrlPattern":".*m\\.lianaiya\\.com\/book\/.+","concurrentRate":"1000","customButton":false,"customOrder":0,"enabled":true,"enabledCookieJar":true,"enabledExplore":true,"eventListener":false,"exploreUrl":"@js:(function(){function wt(h){var m=String(h).match(\/var token='([^']+)'\/);return m?m[1]:null;}var host='https:\/\/m.lianaiya.com\/';var h=String(java.ajax(host));var t=wt(h);if(t){try{cookie.setCookie(host,'waf_challenge='+t);}catch(e){}}return JSON.stringify([{'title':'玄幻小说','url':'https:\/\/m.lianaiya.com\/xuanhuan\/'},{'title':'修真小说','url':'https:\/\/m.lianaiya.com\/xiuzhen\/'},{'title':'都市小说','url':'https:\/\/m.lianaiya.com\/dushi\/'},{'title':'历史小说','url':'https:\/\/m.lianaiya.com\/lishi\/'},{'title':'网游小说','url':'https:\/\/m.lianaiya.com\/wangyou\/'},{'title':'科幻小说','url':'https:\/\/m.lianaiya.com\/kehuan\/'},{'title':'言情小说','url':'https:\/\/m.lianaiya.com\/yanqing\/'},{'title':'其他小说','url':'https:\/\/m.lianaiya.com\/qita\/'},{'title':'全本小说','url':'https:\/\/m.lianaiya.com\/quanben\/'}]);})()","header":"{\"User-Agent\": \"Mozilla\/5.0 (Linux; Android 14; Pixel 8) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/124.0.0.0 Mobile Safari\/537.36\"}","lastUpdateTime":"1787473575648","respondTime":14141,"ruleBookInfo":{"author":"[property=og:novel:author]@content","coverUrl":"[property=og:image]@content","intro":"[property=og:description]@content##\\s*关于[^：]{0,30}：","kind":"[property=og:novel:category]@content","lastChapter":"[property=og:novel:latest_chapter_name]@content","name":"[property=og:novel:book_name]@content","tocUrl":"@js:(function(){function wt(h){var m=String(h).match(\/var token='([^']+)'\/);return m?m[1]:null;}var host='https:\/\/m.lianaiya.com\/';var h=String(java.ajax(host));var t=wt(h);if(t){try{cookie.setCookie(host,'waf_challenge='+t);}catch(e){}}return baseUrl;})()"},"ruleContent":{"content":"@js:(function(){function wt(h){var m=String(h).match(\/var token='([^']+)'\/);return m?m[1]:null;}function wg(url){var h=String(java.ajax(url));var t2=wt(h);if(t2){try{cookie.setCookie('https:\/\/m.lianaiya.com\/','waf_challenge='+t2);}catch(e){}h=String(java.ajax(url));}return h;}function pick(h){var i=h.indexOf('id=\"chaptercontent\"');if(i<0)return null;var j=h.indexOf('>',i);if(j<0)return null;var d=1,k=j+1,no,nc;while(d>0&&k<h.length){no=h.indexOf('<div',k);nc=h.indexOf('<\/div>',k);if(nc<0)break;if(no>=0&&no<nc){d++;k=no+4;}else{d--;k=nc+6;}}return h.substring(j+1,k-6);}function clean(s){s=String(s);s=s.replace(\/^[\\s\\S]{0,150}?\\(第\\d+\\\/\\d+页\\)\\s*(<br\\s*\\\/?>\\s*)+\/,'');s=s.replace(\/一秒记住[^<]{0,80}\/g,'');s=s.replace(\/请勿开启浏览器阅读模式[^<]{0,60}\/g,'');s=s.replace(\/(<br\\s*\\\/?>\\s*){3,}\/g,'$1$1');return s.replace(\/^\\s+|\\s+$\/g,'');}function nextPage(h){if(!\/getElementById\\('pb_next1'\\)\\.innerHTML\\s*=\\s*'下一页'\/.test(h))return null;var o=h.match(\/getElementById\\('pb_next1'\\)\\.onclick\\s*=\\s*(go_[0-9a-f]+)\/);if(!o)return null;var v=h.match(new RegExp('function '+o[1]+'\\\\(\\\\)\\\\s*\\\\{\\\\s*window\\\\.location\\\\.href\\\\s*=\\\\s*(nav_[0-9a-f]+);'));if(!v)return null;var u=h.match(new RegExp('var '+v[1]+'\\\\s*=\\\\s*\\'([^\\']+)\\''));return u?u[1]:null;}var html=String(result);if(wt(html)){html=wg(baseUrl);}var first=pick(html);if(first===null)return '正文获取失败，请刷新或重新搜索';var parts=[clean(first)];var next=nextPage(html),guard=0;while(next&&\/_\\d+\\.html$\/.test(next)&&guard++<60){html=wg(next);var c=pick(html);if(c===null)break;parts.push(clean(c));next=nextPage(html);}return parts.join('<br><br>');})()"},"ruleExplore":{"author":".s4@text","bookList":".lis li","bookUrl":".s2@a@href","kind":".s1@text##\\[|\\]","lastChapter":".s3@a@text","name":".s2@a@text"},"ruleSearch":{"author":".author@text##作者：","bookList":".bookbox","bookUrl":".bookname@a@href","checkKeyWord":"万界武尊","coverUrl":".bookimg@img@src","intro":".bookinfo@p@text##关于[^：]{0,30}：","kind":".cat@text##分类：","lastChapter":".update@a@text","name":".bookname@a@text"},"ruleToc":{"chapterList":"\/\/dt[contains(text(),'全部章节')]\/following-sibling::dd","chapterName":"a@text","chapterUrl":"a@href"},"searchUrl":"@js:(function(){function wt(h){var m=String(h).match(\/var token='([^']+)'\/);return m?m[1]:null;}var host='https:\/\/m.lianaiya.com\/';var h=String(java.ajax(host));var t=wt(h);if(t){try{cookie.setCookie(host,'waf_challenge='+t);}catch(e){}}function enc(s){try{return java.urlEncode(s);}catch(ex){return encodeURIComponent(s);}}return 'https:\/\/m.lianaiya.com\/sdfgsdyugfsdugf.html?s=5256649918672294880&ie=gbk&q='+enc(key);})()","weight":0}]