Closed AsNidhogg closed 4 years ago
目前的站来说,可能最干净的就是斋书苑和次元猫了,俩站是同一个站长,都设置了防采集,用小说阅读脚本的时候 ,每章最下方总是有四五行被防采集给隐藏掉,手机上有开源阅读可以用,但是日常还是喜欢用电脑听小说,求适配。 下面是开源阅读里大佬制作的次元猫的源,ruleContent那块是正文js,但是我试了移植到小说阅读脚本,总是报错没法用,求大佬适配一下,谢谢! { "bookSourceGroup": "💯 精选", "bookSourceName": "💯次元猫", "bookSourceType": 0, "bookSourceUrl": "https:\/\/www.ciymao.com", "bookUrlPattern": "https:\/\/www.ciymao.com\/info\/\d+.html", "customOrder": 68, "enabled": true, "enabledExplore": false, "header": "{\n \"User-Agent\": \"Mozilla\/5.0 (Linux; Android 8.1.0; JKM-AL00b Build\/HUAWEIJKM-AL00b; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/66.0.3359.126 MQQBrowser\/6.2 TBS\/044807 Mobile Safari\/537.36\"\n}", "lastUpdateTime": 0, "ruleBookInfo": { "author": "class.info@tag.span.0@text", "coverUrl": "class.bookimg@img@data-src\n@js:id=result.match(\/(.?)\.\/)[1];\np=p=Math.round(id\/450)-2;\nresult='https:\/\/static.ciymao.com\/upload\/'+p+'.'+result", "intro": "class.book-intro@text", "kind": "class.info@tag.span.1@text", "lastChapter": "class.newlist@tag.li.0@text", "name": "id.book@text", "tocUrl": "text.阅读@href" }, "ruleContent": { "content": "all##<.?>", "webJs": "getDecode();\na=document.documentElement.outerHTML.match(\/<div\sclass=\"([^\"]+)\"><div\sid=\"gdw2\"\/)[1];\nhtml='#'+a;\n$(html).html();" }, "ruleExplore": {}, "ruleSearch": { "author": "class.author@text##作者:", "bookList": "class.bookbox", "bookUrl": "tag.a.0@href", "coverUrl": "img@data-src\n@js:id=result.match(\/(.?)\.\/)[1];\np=p=Math.round(id\/450)-2;\nresult='https:\/\/static.ciymao.com\/upload\/'+p+'.'+result", "intro": "class.intro_line@text", "kind": "", "lastChapter": "class.update@text##最新:", "name": "h4@text" }, "ruleToc": { "chapterList": "class.newlist@li@a", "chapterName": "text##\s-\s\d+-\d+", "chapterUrl": "href##$##,{\"webView\":true}", "nextTocUrl": "\/\/option\/@value", "updateTime": "text##.?\s-\s" }, "searchUrl": "https:\/\/www.ciymao.com\/search\/,{\n \"charset\": \"gbk\",\n \"method\": \"POST\",\n \"body\": \"key={{key}}\"\n}", "weight": 0 }
目前的站来说,可能最干净的就是斋书苑和次元猫了,俩站是同一个站长,都设置了防采集,用小说阅读脚本的时候 ,每章最下方总是有四五行被防采集给隐藏掉,手机上有开源阅读可以用,但是日常还是喜欢用电脑听小说,求适配。 下面是开源阅读里大佬制作的次元猫的源,ruleContent那块是正文js,但是我试了移植到小说阅读脚本,总是报错没法用,求大佬适配一下,谢谢! { "bookSourceGroup": "💯 精选", "bookSourceName": "💯次元猫", "bookSourceType": 0, "bookSourceUrl": "https:\/\/www.ciymao.com", "bookUrlPattern": "https:\/\/www.ciymao.com\/info\/\d+.html", "customOrder": 68, "enabled": true, "enabledExplore": false, "header": "{\n \"User-Agent\": \"Mozilla\/5.0 (Linux; Android 8.1.0; JKM-AL00b Build\/HUAWEIJKM-AL00b; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/66.0.3359.126 MQQBrowser\/6.2 TBS\/044807 Mobile Safari\/537.36\"\n}", "lastUpdateTime": 0, "ruleBookInfo": { "author": "class.info@tag.span.0@text", "coverUrl": "class.bookimg@img@data-src\n@js:id=result.match(\/(.?)\.\/)[1];\np=p=Math.round(id\/450)-2;\nresult='https:\/\/static.ciymao.com\/upload\/'+p+'.'+result", "intro": "class.book-intro@text", "kind": "class.info@tag.span.1@text", "lastChapter": "class.newlist@tag.li.0@text", "name": "id.book@text", "tocUrl": "text.阅读@href" }, "ruleContent": { "content": "all##<.?>", "webJs": "getDecode();\na=document.documentElement.outerHTML.match(\/<div\sclass=\"([^\"]+)\"><div\sid=\"gdw2\"\/)[1];\nhtml='#'+a;\n$(html).html();" }, "ruleExplore": {}, "ruleSearch": { "author": "class.author@text##作者:", "bookList": "class.bookbox", "bookUrl": "tag.a.0@href", "coverUrl": "img@data-src\n@js:id=result.match(\/(.?)\.\/)[1];\np=p=Math.round(id\/450)-2;\nresult='https:\/\/static.ciymao.com\/upload\/'+p+'.'+result", "intro": "class.intro_line@text", "kind": "", "lastChapter": "class.update@text##最新:", "name": "h4@text" }, "ruleToc": { "chapterList": "class.newlist@li@a", "chapterName": "text##\s-\s\d+-\d+", "chapterUrl": "href##$##,{\"webView\":true}", "nextTocUrl": "\/\/option\/@value", "updateTime": "text##.?\s-\s" }, "searchUrl": "https:\/\/www.ciymao.com\/search\/,{\n \"charset\": \"gbk\",\n \"method\": \"POST\",\n \"body\": \"key={{key}}\"\n}", "weight": 0 }