悠久小说
http://www.ujxsw.org
charley008 (1015)26天前
更新 去除 多余字符
"content": "//*[@class='read-content']||@js:\nvar txt = String(result || '');\n\n// 去掉固定广告\ntxt = txt.replace(/最新网址:www\\.ujxsw\\.org/g, '');\n\ntxt = txt.replace(/【悠久小[说説]網.*?免费小说无弹窗免费阅读!?/g, '');\n\n txt = txt.replace(/佰度搜索.*?全集TXT电子书免费下载!?/g, '');\n\n// 清理多余空行\n txt = txt.replace(/\\n{2,}/g,'\\n');\n\n return txt;"
网络导入
{
"sourceName": "悠久小说",
"sourceUrl": "http://www.ujxsw.org",
"sourceType": "text",
"weight": 100,
"enable": true,
"searchBook": {
"actionID": "searchBook",
"validConfig": "",
"requestInfo": "http://www.ujxsw.org/searchbooks.php?searchkey=%@keyWord",
"parserID": "DOM",
"responseFormatType": "html",
"host": "http://www.ujxsw.org",
"list": "//div[@class='shulist']/ul",
"bookName": "//li[@class='three']/a[1]",
"author": "//li[@class='four']/a",
"cat": "//li[@class='two']",
"lastChapterTitle": "//span[@class='gray']/a",
"detailUrl": "//li[@class='three']/a[1]/@href || @js:\nif(result.startsWith('http')) return result;\nreturn config.host + (result.startsWith('/') ? '' : '/') + result;",
"cover": "//img/@src"
},
"bookWorld": {
"分类发现": {
"actionID": "bookWorld",
"parserID": "DOM",
"responseFormatType": "html",
"host": "http://www.ujxsw.org",
"requestInfo": "@js:\nreturn config.host + params.filters.cat.replace('{{page}}', params.pageIndex);",
"list": "//div[@id='sitembox']/dl",
"bookName": "//h3/a",
"author": "//dd[@class='book_other'][1]//a",
"desc": "//dd[@class='book_des']",
"detailUrl": "//h3/a/@href",
"cover": "//dt/a/img/@src",
"validConfig": "",
"moreKeys": {
"pageSize": 10,
"requestFilters": "cat\n 玄幻奇幻::/xuanhuan/{{page}}/\n 仙侠修真::/wuxia/{{page}}/\n 都市青春::/dushi/{{page}}/\n 历史军事::/lishi/{{page}}/\n 游戏动漫::/youxi/{{page}}/\n 科幻灵异::/kehuan/{{page}}/\n 女生言情::/yanqing/{{page}}/"
}
}
},
"bookDetail": {
"actionID": "bookDetail",
"validConfig": "",
"parserID": "DOM",
"responseFormatType": "html",
"host": "http://www.ujxsw.org",
"cover": "//*[@id='bookimg']//img/@src",
"desc": "//*[@id='bookintro']"
},
"chapterList": {
"actionID": "chapterList",
"validConfig": "",
"requestInfo": "@js:\nreturn result.replace('/book/', '/read/');",
"parserID": "DOM",
"responseFormatType": "html",
"host": "http://www.ujxsw.org",
"list": "//div[@id='readerlist']/ul/li",
"title": "//a",
"url": "//a/@href"
},
"chapterContent": {
"actionID": "chapterContent",
"validConfig": "",
"parserID": "DOM",
"responseFormatType": "html",
"host": "http://www.ujxsw.org",
"content": "//*[@class='read-content']||@js:\nvar txt = String(result || '');\n\n// 去掉固定广告\ntxt = txt.replace(/最新网址:www\\.ujxsw\\.org/g, '');\n\ntxt = txt.replace(/【悠久小[说説]網.*?免费小说无弹窗免费阅读!?/g, '');\n\n txt = txt.replace(/佰度搜索.*?全集TXT电子书免费下载!?/g, '');\n\n// 清理多余空行\n txt = txt.replace(/\\n{2,}/g,'\\n');\n\n return txt;"
},
"lastModifyTime": "1773893832"
}