[{"bookSourceComment":"（源url不同不覆盖以前的，方便把自己的发现规则粘贴进这个新的）\n\n◎搜索格式◎\n1、搜索用户<关闭精确搜索>\n@用户名\n2、搜索合集<关闭精确搜索>\n#合集\n3、搜索文章，直接搜索\n发现规则\n                                    🏷标签\n标签名::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag=标签名&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n📃用户（搜索可以得到)\n\n用户名::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=用户博客id&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=用户博客域名&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n注意：以下两个等效，可以只填一个，另一个去掉即可\ntargetblogid=用户博客id  \nblogdomain=用户博客域名\n如 \ntargetblogid=514131314\nblogdomain=taste-s.lofter.com","bookSourceGroup":"🗂 聚合","bookSourceName":"🗂📖Lofter🚩(修复)","bookSourceType":2,"bookSourceUrl":"https:\/\/newsmiss.lofter.com","bookUrlPattern":"","customOrder":398,"enabled":true,"enabledCookieJar":false,"enabledExplore":true,"enabledReview":false,"exploreUrl":"              ----------     🏷标签     ----------               ::\n摄影::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=摄影&type=new\"}\n手机摄影::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=手机摄影&type=new\"}\n夕阳::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=夕阳&type=new\"}\n百合::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag=百合&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n微微怡笑::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag=微微怡笑&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n双镜::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag=双镜&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n玉梦::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag=玉梦&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n\n壁纸::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=壁纸&type=new\"}\n国风::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=国风&type=new\"}\n古风::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=古风&type=new\"}\n诗歌::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=诗歌&type=new\"}\n插画::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=插画&type=date\"}\n雨(最热)::http:\/\/api.lofter.com\/v2.0\/newTag.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\": \"method=newTagSearch&offset={{(page-1) *18}}&limit=18&firstpermalink=null&tag=雨&type=total\"}\n               ----------     📃用户     ----------               ::\n砂上雪::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=514131314&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=taste-s.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n\n裹紧我的萧被子::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.9.2,{\"method\":\"POST\",\"body\":\"supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=xbwuj.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n\n独角兽::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=3384409&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=taste-s.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n\n画画的玉玉卿::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=537659701&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=xiaoyutaitaiy.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n\n正版青团子::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=498644995&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=keenso.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\nTheo没编号::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=510591099&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=theo9.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}\n弓长歌-::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.13.0,{\"method\":\"POST\",\"body\":\"targetblogid=&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=gongchangge.lofter.com&offset={{(page-1)*18}}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}","header":"{\n\"Content-Type\": \"application\/x-www-form-urlencoded;charset=utf-8\"}","lastUpdateTime":1672569324143,"loginUrl":"https:\/\/newsmiss.lofter.com","respondTime":26219,"ruleBookInfo":{"author":"$.response.blogInfo.blogNickName||$.response.posts[0].post.blogInfo.blogNickName","canReName":"1","coverUrl":"$.response.collection.coverUrl@put:{page:$.response.blogInfo.blogStat.publicPostCount}","init":"","intro":"@js:\na='{{$.response.collection.description}}';\nb='{{$.response.blogInfo.blogNickName}}';\nc=java.getString('$.response.posts[0].post.digest||$.response.collection.description||$.response.blogInfo.selfIntro');\n\nresult =c;\n\ncname=\"{{$.response.posts[0].post.postCollection.name}}\";\ncdes=java.getString('$.response.posts[0].post.postCollection.description');\nccount=\"{{$.response.posts[0].post.postCollection.postCount}}\";\nif(cname){\nresult=result+\"\\n&lrm;\\n🈴所属合集：\"+cname+\"\\n📜合集介绍：\"+cdes+\"\\n\"+\"🔢合集章节总数：\"+ccount\n+\"\\n🔍搜索合集：#\"+cname+\"<关闭精确搜索>\"}\nString(result).replace(\/📜合集介绍：\\n\/,'')+String(book.intro).replace(\/[\\s\\S]+?--复制\/,'<br>&lrm;<br>--复制').replace(\/.*?::\/,book.author+'::')","kind":"$.postCollection","lastChapter":"","name":"$.response.collection.name\n@js:result.trim()","tocUrl":"$.response.blogsetting.blogId\n@js:\nif(result){\nid='{{$.response.blogsetting.blogId}}';\nlink='{{$.response.blogLink}}';\nurl='http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.9.2,';\npost={\"method\": \"POST\",\n\"body\": \"targetblogid=\"+id+\"&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain=\"+link+\"&offset=0&method=getPostLists&postdigestnew=1&returnData=1&limit=50&checkpwd=1&needgetpoststat=1\"}\nresult=url+JSON.stringify(post);\njava.put('url',result)}else if(baseUrl.match(\/detail\/)){\nresult='{{$.response.posts[0].post.blogPageUrl}}'\n}else if(baseUrl.match(\/postCollection\/)){\nresult=java.get('url')\n}"},"ruleContent":{"content":"<js>\nevs=String(src.match\n\t  (\/window.__initialize_data__ =([\\s\\S]+}}})\/)[1])\njava.setContent(evs)\nname=java.getString(\"$..blogNickName\")\ntitle=java.getString(\"$..title\")\ntime=java.timeFormat(java.getString(\"$..publishTime\"))\ndesc=java.getString(\"$..selfIntro\")\nimgs=java.getString(\"$..photoLinks[*].orign\")\ncontent=imgs!=\"\"?imgs.split(\"\\n\").\n      map(x=>'<img src=\"'+x+'\">').join(\"\\n\"):\n      \"=======================\"+\n      \tjava.getString(\"$..content\")\nresult=\n\t(title!=\"\"?\"\\n标题：\"+title:\"\")+\n\t(name!=\"\"?\"\\n作者：\"+name:\"\")+\n\t(time!=\"\"?\"\\n时间：\"+time:\"\")+\n\t(desc!=\"\"?\"\\n描述：\"+desc:\"\")+\n\t\t\"\\n\"+content\njava.log(result)\n<\/js>","imageStyle":"full","nextContentUrl":"","payAction":"##src=\"(.*?)\"##src=\"$1,{\\\"Accept\\\":\\\"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.9\\\",\\\"x-miorigin\\\":\\\"on\\\",\\\"Upgrade-Insecure-Requests\\\":1}\"","replaceRegex":"##src=\"(.*?)%7Cwatermark.*\"##src=\"$1\"","sourceRegex":""},"ruleExplore":{"author":"$.post.blogInfo.blogNickName||$..blogName","bookList":"<js>result.replace(\/null\/g,'')<\/js>\n$.response.items[*]||$.response.posts[*]","bookUrl":"@js:url='{{$.post.blogId||$.post.blogPageUrl}}';\nid='{{$.post.id}}';\nmain=url.match(\/_blogid_\\d+\/)?url.match(\/_blogid_(\\d+)\/)[1]:url;\nbody=\"blogdomain=_blogid_\"+main+\".lofter.com&postid=\"+id;\nresult='https:\/\/api.lofter.com\/oldapi\/post\/detail.api?product=lofter-android-6.11.3,{\"method\":\"POST\",\"body\":\"'+String(body)+'\"}';","coverUrl":"$.post\n@js:if(result.match(\/firstImageUrl=\\[\"\",\"\"\\]\/)){\nresult=result.match(\/bigAvaImg=(.*?),\/)?result.match(\/bigAvaImg=(.*?),\/)[1]:'';}else{\nresult=result.match(\/firstImageUrl=\\[\"([^\"]+)\"\/)?result.match(\/firstImageUrl=\\[\"([^\"]+)\"\/)[1]:\"\"\n}","intro":"{{$.post.digest}}\n<br>&lrm;<br>\n--复制下面的文字，可将用户添加发现或者订阅--\n{{$.post.blogInfo.blogNickName}}::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.9.2,{\"method\":\"POST\",\"body\":\"targetblogid={{$.post.blogInfo.blogId}}&supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain={{$.post.blogInfo.blogName}}.lofter.com&offset={{'\\{\\{(page-1)*18\\}\\}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}'}}","kind":"$.post.tag","lastChapter":"$.post.publishTime\n@js:result=java.timeFormat(parseInt(result));\njava.put('time',result)\nip=java.getString(\"$.post.ipLocation\")\nif(ip!=\"\"||ip!=null){\n\t if(ip.indexOf(\"country\")>0){\n\t     ip=JSON.parse(ip);\n\t     result+=\"       IP:\"+ip.country+\n\t   \t     \"·\"+ip.province;\n\t }else\n\t if(ip.indexOf(\"shorten\")>0){\n\t     ip=JSON.parse(ip);\n\t     result+=\"       IP:\"+ip.shorten;\n\t }\n}\nresult","name":"$.post.title||$.post.noticeLinkTitle||$.post.digest||$.post.blogInfo.blogId||$.post.blogPageUrl##<\/*\\w.*?>\n@js:result.trim()"},"ruleReview":[],"ruleSearch":{"author":"$.blogInfo.blogNickName||$.blogName","bookList":"$.data.posts[*]||$.data.blogs[*]||$.data.collections[*]","bookUrl":"$.postPageUrl\n@js:\nif(!result){\nif(!'{{$.name}}'){\nid='{{$.blogId}}';\nresult='http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.9.2,{\"method\": \"POST\",\"body\":\"targetblogid='+id+'&method=getBlogInfoDetail&returnData=1&checkpwd=1&needgetpoststat=1\"}'}else{\nblogid='{{$.blogId}}';\nid='{{$.id}}';\nname='{{$.blogName}}';\njava.put('name',name);\nresult='https:\/\/api.lofter.com\/v1.1\/postCollection.api?product=lofter-android-6.11.1,{\"method\": \"POST\",\"body\":\"blogdomain='+name+'.lofter.com&method=getCollectionSimple&offset=0&limit=2000&blogid='+blogid+'&collectionid='+id+'&order=1\"}';java.put('url',result)\n}}else{result=result};","coverUrl":"$.firstImageUrl[0]||$.blogInfo.bigAvaImg||$.bigAvaImg||$.coverUrl","intro":"{{$.digest||$.selfIntro}}\n<br>&lrm;<br>\n--复制下面的文字，可将用户添加发现或者订阅--\n{{$.blogInfo.blogNickName||$.blogNickName||$.blogName}}::http:\/\/api.lofter.com\/v2.0\/blogHomePage.api?product=lofter-android-6.9.2,{\"method\":\"POST\",\"body\":\"supportposttypes=1%2C2%2C3%2C4%2C5%2C6&blogdomain={{$.blogName||$.blogInfo.blogName}}.lofter.com&offset={{'\\{\\{(page-1)*18\\}\\}&method=getPostLists&postdigestnew=1&returnData=1&limit=18&checkpwd=1&needgetpoststat=1\"}'}}","kind":"$.tagList||$.tags","lastChapter":"$.publishTime\n<js>\nif(result){\nresult?result=java.timeFormat(parseInt(result)):'';\njava.put('time',result)}else{\nresult=java.getString('$.posts[0].title||$.posts[0].digest')\n}<\/js>\n##<\/*\\w+.*?>","name":"$.title||$.noticeLinkTitle||$.digest||$.blogInfo.blogNiceName||$.blogNickName||$.name##<\/*\\w.*?>\n@js:result.trim()","wordCount":""},"ruleToc":{"chapterList":"$..posts[*]||$.response.items[*]\n@js:if(String(result).match(\/blogPageUrl\/)==null){java.getElements('@@tag.html')}else{result=result}","chapterName":"$.post.title||$.post.digest||$.post.blogInfo.blogNickName\n<js>if(result){\nresult=result\n}else{result=book.name}\nString(result).trim().replace(\/<\\\/*\\w.*?>\/g,'')\n<\/js>\n##(^.{1,25})##$1###","chapterUrl":"$.post.blogPageUrl\n<js>\nif(baseUrl.indexOf('postCollection')>-1){'https:\/\/'+java.get('name')+'.lofter.com\/post\/{{$.post..permalink}}'}else{result=result}\n<\/js>\n<js>\njava.log(result)\nresult+''\n<\/js>","nextTocUrl":"<js>\npages=java.get('page');\npage=parseInt(pages\/50);\nurl=String(java.get('url'));\nlist=[];\n\nif(page>6){\npage=6\n}else{page=page}\nfor(i=1;i<=page;i++){\nlist.push(url.replace(\/offset=\\d+\/,'offset='+(parseInt(i)*50)))\n}\nlist\n<\/js>","updateTime":"$.post.publishTime\n@js:result?java.timeFormat(parseInt(result)):java.get('time')"},"searchUrl":"@js:\nif(key.match(\/@\/)){\nresult='https:\/\/api.lofter.com\/newsearch\/blog.json?key='+encodeURI(key.match(\/^@(.*)\/)[1])+'&offset={\\{(page-1) *20}\\}'}else if(key.indexOf('#')==0 || key.indexOf('＃')==0){\nresult='https:\/\/api.lofter.com\/newsearch\/collection.json?key='+encodeURI(key.match(\/^(?:#|＃)(.*)\/)[1])+'&offset={\\{(page-1) *20}\\}'\n}else{\nresult='https:\/\/api.lofter.com\/newsearch\/post.json?key='+key+'&offset={\\{(page-1) *20}\\}&limit=20'\n}","weight":0}]