ESJ Zone
https://www.esjzone.cc
plmplmplm (11777)5天前
该用户很懒,什么介绍也没有写!
{
"bookSourceName": "ESJ Zone",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.esjzone.cc",
"bookUrlPattern": "https?:\/\/www.esjzone.one\/detail\/.*",
"customButton": false,
"customOrder": 0,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"eventListener": false,
"exploreUrl": "@js:\nresult=[\n {\n 'title': '>> 个人中心 <<',\n 'url': \"\",\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n },\n {\n 'title': \"我的收藏\",\n 'url': `\/my\/favorite`,\n 'style':{\n layout_flexGrow:2,\n layout_flexBasisPercent:0.25\n \t}\n },\n {\n 'title': \"观看记录\",\n 'url': `\/my\/view`,\n 'style':{\n layout_flexGrow:2,\n layout_flexBasisPercent:0.25\n \t}\n }\n]\nhtml=org.jsoup.Jsoup.parse(java.ajax(source.bookSourceUrl+\"\/list-01\/\"))\ncategorys=html.select(\"#category option\")\nsortings=html.select(\"#sorting option\")\ncategorys.forEach(category => {\n result.push({\n 'title': '>> ' + java.t2s(category.text()) + ' <<',\n 'url': \"\",\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n })\n sortings.forEach(sorting => {\n result.push({\n 'title': java.t2s(sorting.text()),\n 'url':`\/list-${category.attr('value')}${sorting.attr('value')}\/{{page}}.html`,\n 'style':{\n layout_flexGrow:2,\n layout_flexBasisPercent:0.25\n \t}\n })\n })\n})\nJSON.stringify(result)",
"lastUpdateTime": "1765653374081",
"loginUrl": "\/my\/profile.html",
"respondTime": 180000,
"ruleBookInfo": {
"author": "class.list-unstyled mb-2 book-detail@tag.li.1@tag.a@text\n@js:\njava.t2s(result)",
"canReName": "true",
"coverUrl": "@css:div.col-md-3 > div > a > img@src",
"intro": "{{@@section.m-t-20@a.tag@text##(^|[\\n])##🏷️}}\n{{'‎'}}\n{{@@div.description@html}}\n@js:\njava.t2s(result)",
"kind": "关注:{{@css:.book-detail label:has(.icon-eye)@text}},喜欢:{{@css:.book-detail label:has(.icon-heart)@text}}\n{{@@class.list-unstyled mb-2 book-detail@tag.li.-2@text##.+: }}\n{{@@class.list-unstyled mb-2 book-detail@tag.li.-1@text## .+}}",
"lastChapter": "@css:div[id = chapterList] >a:last-child@text\n@js:\njava.t2s(result)",
"name": "@css:div.col-md-9.book-detail > h2@text\n@js:\njava.t2s(result)",
"wordCount": "@css: .book-detail label:has(.icon-file-text)@text##,##"
},
"ruleContent": {
"content": "@css:div.forum-content.mt-3,div[class =d_post_content j_d_post_content]@all\n@js:\njava.t2s(result)"
},
"ruleExplore": {},
"ruleSearch": {
"author": "class.card-author@tag.a@text\n@js:\njava.t2s(result)",
"bookList": "div.col-lg-3.col-md-4.col-sm-3.col-xs-6",
"bookUrl": "@css:div> div > div > h5 > a, .product-title > a@href",
"coverUrl": "class.main-img@class.lazyload@data-src\n@js:\nresult.match(\"empty\") ? \"\" : result",
"intro": "class.book-ep@div.-1@text\n@js:\njava.t2s(result)",
"kind": "{{@css:.column:has(.icon-star-s)@text}},关注:{{@css:.column:has(.icon-eye)@text}},喜欢:{{@css:.column:has(.icon-heart)@text}},羽毛:{{@css:.column:has(.icon-feather)@text}},评论:{{@css:.column:has(.icon-message-square)@text}}##(\\([^()]+)##星$1人\n@js:\n!!result.split(\",\")[0] ? result : java.getString(\"class.book-update@text\")",
"lastChapter": "@css:div>div>div[class=card-ep mt-2], .book-ep a@text\n@js:\njava.t2s(result)",
"name": "@css: .card-title a, .product-title@text\n@js:\njava.t2s(result)",
"wordCount": "@css: .column:has(.icon-file-text)@text##,##"
},
"ruleToc": {
"chapterList": "#chapterList@a[data-title], p.non, summary",
"chapterName": "text\n@js:\njava.t2s(result)",
"chapterUrl": "href",
"isVolume": "p.non@text||summary@text"
},
"searchUrl": "https:\/\/www.esjzone.one\/tags\/{{key}}",
"weight": 0
}