{
"bookSourceComment": "做完发现书籍下载地址都404了😭",
"bookSourceName": "恩京的书房",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.enjing.net",
"customOrder": 0,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": true,
"lastUpdateTime": 1717757790297,
"respondTime": 180000,
"ruleBookInfo": {
"author": "p.0@text",
"canReName": "1",
"coverUrl": "[class$=img]@img@src",
"intro": "[class^=describe]>:not(div)@html##.*恩.{,5}京.{,5}书,{,5}房.*",
"kind": "p.1:2:3@text##.*:\n<js>##、##,<\/js>",
"lastChapter": "p.4@a@text",
"name": "[class*=book-describe]@h1@text",
"tocUrl": ".downbtn@href"
},
"ruleContent": {
"content": "@js:\nb = baseUrl;\nif (\/download\\.php\/.test(b)) {\n String(java.getString('.download@html')).replace(\/<.*?href=\"(.*?)\".*?>(.*?)<.*?>\/g,'\\n$2:$1\\n');\n} else {\n java.getString('#nr1@html');\n};",
"nextContentUrl": ".next.0@a@href"
},
"ruleExplore": {},
"ruleSearch": {
"author": "{{\"恩京的书房\"}}",
"bookList": ".cat-search-item,.post",
"bookUrl": "a.0@href",
"coverUrl": "img@src",
"intro": "p.1@text",
"kind": "p!1@a@text",
"name": "a[target]@text"
},
"ruleToc": {
"chapterList": "@js:\nb = baseUrl;\nif (\/download\\.php\/.test(b)) {\n JSON.parse(`[{\"text\": \"下载地址\", \"href\": \"${b}\"}]`);\n} else {\n java.getElements('.book-list@li@a');\n};",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "\/<,page\/{{page}}\/>?s={{key}}",
"weight": 0
}