978小说
https://www.978xs.com
ycbsteamed-buns (14809)11/05 15:45
api
{
"bookSourceComment": "作者:姚浅书",
"bookSourceGroup": "自制",
"bookSourceName": "978小说",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.978xs.com",
"customButton": false,
"customOrder": 0,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"eventListener": false,
"exploreUrl": "[{\"title\":\"玄幻\",\"url\":\"\/leimu\/1\/\"},{\"title\":\"武侠\",\"url\":\"\/leimu\/2\/\"},{\"title\":\"都市\",\"url\":\"\/leimu\/3\/\"},{\"title\":\"历史\",\"url\":\"\/leimu\/4\/\"},{\"title\":\"网游\",\"url\":\"\/leimu\/5\/\"},{\"title\":\"科幻\",\"url\":\"\/leimu\/6\/\"},{\"title\":\"言情\",\"url\":\"\/leimu\/7\/\"},{\"title\":\"其他\",\"url\":\"\/leimu\/8\/\"},{\"title\":\"全本\",\"url\":\"\/quanben\/\"}]",
"header": "{\"User-Agent\":\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/120.0.0.0 Safari\/537.36\", \"Referer\": \"https:\/\/www.978xs.com\/\"}",
"lastUpdateTime": "1793864725972",
"respondTime": 180000,
"ruleBookInfo": {
"author": "address.author@text##作者:|\\s||meta[property=\"og:novel:author\"]@content",
"coverUrl": "meta[property=\"og:image\"]@content",
"intro": "meta[property=\"og:description\"]@content",
"kind": "meta[property=\"og:novel:category\"]@content",
"lastChapter": "meta[property=\"og:novel:latest_chapter_name\"]@content",
"name": "h1@text||meta[property=\"og:novel:book_name\"]@content"
},
"ruleContent": {
"content": "#content@html||#nr1@html||.content@html"
},
"ruleExplore": {
"author": ".author@text||.s4@text##作者:|\\s||em@text##作者:",
"bookList": "div.bookbox||li:has(.s4)||.hot_sale||.list .ft||div.cont",
"bookUrl": "h4 a@href||.bookname a@href||a@href||h5 a@href",
"coverUrl": ".cover img@src||img@src||a.img img@src",
"intro": ".intro@text||.review@text||p@text",
"name": "h4 a@text||.bookname a@text||.title@text||h5 a@text"
},
"ruleSearch": {
"author": "$.author",
"bookList": "$.data.search[*]||$.data.search",
"bookUrl": "$.book_list_url##^(?!http)##https:\/\/www.978xs.com",
"coverUrl": "$.cover##^(?!http)##https:\/\/www.978xs.com",
"kind": "$.cate_name",
"lastChapter": "$.latest_chapter_name",
"name": "$.book_name||$.title"
},
"ruleToc": {
"chapterList": ":href=\"(\/\\d+\/\\d+\\.html)\"[^>]*>([^<]+)",
"chapterName": "$2",
"chapterUrl": "$1"
},
"searchUrl": "@js:var k=java.encodeURI(key);var reqUrl='https:\/\/www.978xs.com\/user\/search.html?q='+k;var h=String(java.ajax(reqUrl));var p='q='+k;var r=\/var\\s+(\\w+)\\s*=\\s*[\"']([^\"']*)[\"']\/g;var m;while((m=r.exec(h))!==null){p+='&'+m[1]+'='+m[2];}var opt={method:\"POST\",body:p,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Referer\":reqUrl,\"Content-Type\":\"application\/x-www-form-urlencoded; charset=UTF-8\"}};out='https:\/\/www.978xs.com\/api\/search,'+JSON.stringify(opt);",
"weight": 0
}