爱下小说(优)
https://apiv2hans.aixdzs.com##@尐哖
bangjin111 (10046)07/24 20:41
// Error: json string can not be null or empty 20231123 整体修复-尐哖 旧域名:https://api.aixdzs.com
{
"bookSourceComment": "\/\/ Error: json string can not be null or empty\n\n20231123 整体修复-尐哖\n旧域名:https:\/\/api.aixdzs.com",
"bookSourceGroup": "小说 书源",
"bookSourceName": "爱下小说(优)",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/apiv2hans.aixdzs.com##@尐哖",
"customOrder": 82,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": true,
"exploreUrl": "<js>\nsort=[];\n\tpush=(title,url,type,fp)=>sort.push({\n\t\ttitle: title,\n\t\turl: url,\n\t\tstyle: {\n\t\t\t\tlayout_flexGrow: fp,\n\t\t\t\tlayout_flexBasisPercent: type\n\t\t\t}\n\t});\n\tu=\"https:\/\/apiv2hans.aixdzs.com\/sort\"\n\txx=(a,b)=>{\n\t\treturn `list,{\"method\": \"POST\",\"body\":'{\"bookTypeId\":\"${a}\",\"type\": \"${b}\",\"pageNum\": \"{{page}}\"}'}`;\n\t}\n\tfls = JSON.parse(java.post(u,'',{}).body());\n\tpush(\"最新\",'',1,1)\n\tfor(f of fls.data.allType){\n\t\tpush(f.categoryName,u+xx(f.bookTypeId,1),0.25,0.25);\n\t}\n\tpush(\"——\",'',0.25,0.25)\n\tpush(\"——\",'',0.25,0.25)\n\tpush(\"大热\",'',1,1)\n\tfor(l of fls.data.allType){\n\t\tpush(l.categoryName,u+xx(l.bookTypeId,2),0.25,0.25);\n\t}\n\tpush(\"——\",'',0.25,0.25)\n\tpush(\"——\",'',0.25,0.25)\n\t\/\/完本:3\n\tJSON.stringify(sort);\n<\/js>",
"header": "@js:\nJSON.stringify({\n\t\"User-Agent\":\"Dalvik\/2.1.0 (Linux; U; Android 10; MIX Build\/PKQ1.190118.001)\"\n});",
"lastUpdateTime": "1753360915438",
"respondTime": 187977,
"ruleBookInfo": {
"author": "$.author",
"coverUrl": "https:\/\/img22.aixdzs.com\/{{$.cover}}",
"init": "$.data.book",
"intro": "$.longIntro",
"kind": "{{$.updated##T.*}}\n{{$.cat}}\n{{$.zt}}",
"lastChapter": "$.lastChapter\n@js:result\n.replace(\"••\",\"\")\n.replace(\/^(\\d+).第\/,'第')\n.replace(\/^(正文|VIP章节|最新章节)?(\\s+|_)|[\\(\\{({【].*[求更谢乐发推票盟补加字Kk\\\/].*[\\)\\})}】]\/g,'')\n.replace(\/^(\\d+)[、.]第.+章\/,'第$1章')\n.replace(\/^(\\d+)、\\d+、\/,'第$1章 ')\n.replace(\/^(\\d+)、\\d+\/,'第$1章')\n.replace(\/^(第.+章)\\s?\\d+\/,'$1')\n.replace(\/^(\\d+)、\/,'第$1章 ')\n.replace(\/^(第.+章)\\s?第.+章\/,'$1')\n.replace(\/第\\s(.+)\\s章\/,'第$1章')\n.replace(\/.*(chapter|Chapter)\\s?(\\d+)\\s?\/,'$1 $2 ')\n.replace(\/\\(.+\\)\/,'')\n.replace(\/\\[|。\/,'')\n.replace(\/第([零一二三四五六七八九十百千]+)章\/g,java.toNumChapter(result))\n##(章)([^\\s]+)(\\s·)##$1 $2$3",
"name": "$.title",
"tocUrl": "{{source.getKey().match(\/([^\\#]+)\\#\/)[1]}}\/catalog,{\n \"body\": '{\"bookId\":\"{{$.bookId}}\"}',\n \"method\": \"POST\"\n}",
"wordCount": "$.wordCount"
},
"ruleContent": {
"content": "<js>\ns=\"2c6689f91ee4d4e87d798397d47310ebbe1dad79ixdzs\";\nfor (i = 0, h = \"\"; i < 8; i++) {\n\tx=\"abcdefghijklmnopqrstuvwxyz0123456789\";\n\tr = parseInt(Math.random() * (36 - 0 +1) + 0, 10);\n\th += x.charAt(r);\n}\na=String(Math.round(new Date()));\nsha = s + h + a + h;\nsha1 = java.digestHex(sha,'SHA-1');\n\nb = baseUrl.match(\/\"chapterId\":(\\d+),\"bookId\":\"(\\d+)\"\/)\nu=source.getKey().match(\/([^\\#]+)\\#\/)[1];\nurl = u + \"\/chapter\/content,\";\npost=`{\n \"method\": \"POST\",\n \"body\":'{\"chapterId\": ${b[1]},\"bookId\":\"${b[2]}\"}',\n \"headers\":{\"checkSumDTO\":'{\"appid\":\"ixdzs\",\"checksum\":\"${sha1}\",\"curtime\":\"${a}\",\"nonce\":\"${h}\"}'}\n}`\n\nresult = java.ajax(url+post);\n<\/js>$.data.chapter.chapterContent",
"replaceRegex": "##\\n\\s*[\\((]本章完[\\))]$|\\n\\s*第.*章.*\\n|.*武林中文网.*最新章节!"
},
"ruleExplore": {
"author": "$.author",
"bookList": "$.data.bookList",
"bookUrl": "{{source.getKey().match(\/([^\\#]+)\\#\/)[1]}}\/book\/detail,{\n \"body\":'{\"bookId\":\"{{$.bookId}}\"}',\n \"method\": \"POST\"\n}",
"coverUrl": "https:\/\/img22.aixdzs.com\/{{$.cover}}",
"intro": "$.shortIntro",
"kind": "{{$.updated##T.*}}\n{{$.cat}}\n{{$.zt}}",
"lastChapter": "{{$.lastChapter##最新:}} • {{$.updated##T.*}}",
"name": "$.title"
},
"ruleReview": {},
"ruleSearch": {
"author": "$.author",
"bookList": "$.data.bookList",
"bookUrl": "{{source.getKey().match(\/([^\\#]+)\\#\/)[1]}}\/book\/detail,{\n \"body\":'{\"bookId\":\"{{$.bookId}}\"}',\n \"method\": \"POST\"\n}",
"checkKeyWord": "",
"coverUrl": "https:\/\/img22.aixdzs.com\/{{$.cover}}",
"intro": "$.shortIntro",
"kind": "{{$.updated##T.*}}\n{{$.cat}}\n{{$.zt}}",
"lastChapter": "{{$.lastChapter##最新[::]}} • {{$.updated##T.*}}",
"name": "$.title",
"wordCount": ""
},
"ruleToc": {
"chapterList": "$.data.chapterList[*]",
"chapterName": "$.chapterName",
"chapterUrl": "{{source.getKey().match(\/([^\\#]+)\\#\/)[1]}}\/chapter\/content,{\n\t\"body\": '{\"chapterId\":{{$.chapterId}},\"bookId\":\"{{$.bookId}}\"}',\n \"method\": \"POST\"\n}",
"updateTime": "时间:{{java.timeFormat(java.getString('$.createTime'))}}"
},
"searchUrl": "{{source.getKey().match(\/([^\\#]+)\\#\/)[1]}}\/search,{\n \"body\": '{\"searchTerms\":\"{{key}}\",\"pageSize\": \"20\",\"pageNum\":\"{{page}}\"}',\n \"method\": \"POST\"\n}",
"weight": 0
}