{
"bookSourceComment": "",
"bookSourceGroup": "",
"bookSourceName": "🍩新暖酒小说[自写]",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.wetfj.com\/#xsw8093",
"customOrder": -78046,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "",
"header": "{\n 'User-Agent': 'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/58.0.3029.110 Safari\/537.36',\n \"Cookie\":\"0\"\n}",
"lastUpdateTime": "1729483060357",
"respondTime": 180000,
"ruleBookInfo": {
"author": "@get:{a}",
"coverUrl": "@get:{c}",
"init": "@put:{\nn:\"[property$=title]@content\",\na:\"[property$=author]@content\",\nk:\"[property~=category|status|update_time]@content\",\nl:\"[property$=latest_chapter_name]@content\",\ni:\"[property$=description]@content\",\nc:\"[property$=image]@content\",\ntac:\"[property$=read_url]@content\"\n}",
"intro": "@get:{i}",
"kind": "@get:{k}",
"lastChapter": "@get:{l}",
"name": "@get:{n}",
"tocUrl": "",
"wordCount": ""
},
"ruleContent": {
"content": "#txtContent||.readcontent@html\n@js:\n\/*\nresult=result.replace(\/<br>\/g,\"<p><\/p>\").replace(\/ \/g,\"<p><\/p>\")\n*\/\nresult",
"nextContentUrl": "text.下一@href\n@js:\nif(result){\n result=result[0].includes(\"_\")?result:\"\";\n}",
"replaceRegex": ""
},
"ruleExplore": {
"author": "",
"bookList": "",
"bookUrl": "",
"coverUrl": "",
"intro": "",
"kind": "",
"lastChapter": "",
"name": ""
},
"ruleSearch": {
"author": ".author.0@text##作者:##",
"bookList": ".bookbox",
"bookUrl": "h4@a@href",
"checkKeyWord": "最后结局",
"coverUrl": "",
"intro": ".update@textNodes",
"kind": ".author.1@text",
"lastChapter": ".cat@a@text",
"name": "h4@a@text",
"wordCount": ""
},
"ruleToc": {
"chapterList": "#list-chapterAll@dd@a",
"chapterName": "text",
"chapterUrl": "href",
"nextTocUrl": "option@value",
"updateTime": ""
},
"searchUrl": "@js:\nvar su=source.getKey()\nvar htmlUrl=java.get(su,{}).headers('Location')\njava.log(`重定向:${htmlUrl[0]}`)\nvar posturl=htmlUrl[0]?htmlUrl[0]:(su.includes(\"#\")?su.match(\/([^\\#]+)\\#\/)[1]:su)\nposturl = posturl.slice(-1)=='\/'?posturl.slice(0,-1):posturl\ncookie.removeCookie(posturl)\njava.log(`请求:${posturl}`)\n\n\nposturl+\"\/search,\"+JSON.stringify({\n \"body\":\"searchkey={{key}}&searchtype=all\",\n \"method\": \"POST\"\n})",
"weight": 0
}