加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
book.json 20.82 KB
一键复制 编辑 原始数据 按行查看 历史
师金帅 提交于 2024-05-19 13:44 . 书源
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
[
{
"name": "🎉 123文学MC",
"site": "https://m.123wenxue.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"enableNext": true,
"content": "auto:2",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "//ul[@class=\"chapter\"][-1]/li",
"name": "///a/text()",
"url": "///a/@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": true,
"filter": false,
"reverse": false,
"autoNext": true,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://m.123wenxue.com/search.php?keyword={{keyword}}&p={{page}}",
"dynamicDelayTime": 500
},
"list": "//div[@class=\"bookbox\"]",
"detail": {
"url": "///div[2]/h4/i/a/@href",
"title": "///div[2]/h4/i/a/text()",
"author": "///div[2]/div[1]/text()",
"introduce": "///div[2]/div[5]/text()",
"latestChapterName": "///div[2]/div[3]/a/text()",
"latestChapterUrl": "///div[2]/div[3]/a/@href",
"coverUrl": "///div[1]/a/img/@src"
}
}
},
{
"name": "💰番茄小说",
"site": "https://novel.snssdk.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {
"userAgent": "Mozilla/5.0 (Linux; Android 10; M2007J22C Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.101 Mobile Safari/537.36"
},
"content": {
"content": {
"rule": "$..content",
"script": "paragraphs=utils.matchList(result,\"//p/text()\");result = \"\";for(var p in paragraphs ){result +=\"\t\"+paragraphs[p]+\"\\n\";}"
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "$.data.item_data_list",
"name": "$.title",
"url": {
"rule": "$.item_id",
"script": "\"https://novel.snssdk.com/api/novel/book/reader/full/v1/?group_id=\"+result+\"&item_id=\"+result;"
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"filter": false,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://novel.snssdk.com/api/novel/channel/homepage/search/search/v1/?aid=13&q={{keyword}}",
"dynamicDelayTime": 500
},
"list": "$.data.ret_data",
"detail": {
"url": {
"rule": "$.book_id",
"script": "\"https://api5-normal-lf.fqnovel.com/reading/bookapi/directory/all_items/v/?need_version=true&book_id=\"+result+\"&iid=2665637677906061&aid=1967&app_name=novelapp&version_code=495\";"
},
"title": {
"rule": "$.title",
"replace": [
"<em>##",
"</em>##"
]
},
"author": "$.author",
"broadcast": "$.",
"category": "$.category",
"wordCount": "$.score",
"introduce": "$.abstract",
"latestChapterName": "$.",
"latestChapterUrl": "$.",
"coverUrl": "$.thumb_url",
"state": "$.",
"updateTime": "$."
}
}
},
{
"name": "🎉西红柿小说",
"site": "https://www.fqxsw.org/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {},
"content": {
"content": "auto:1",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"filter": true,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://www.fqxsw.org/modules/article/search.php",
"method": "POST",
"charset": "UTF-8",
"mediaType": "application/x-www-form-urlencoded",
"body": "keyword={{keyword}}",
"dynamic": false,
"dynamicDelayTime": 500
},
"list": "//*[@id=\"main\"]/div[1]/ul/li[position()>1]",
"detail": {
"url": "///span[1]/a/@href",
"title": "///span[1]/a/allText()",
"author": "///span[3]/text()",
"latestChapterName": "///span[2]/a/text()",
"latestChapterUrl": "///span[2]/a/@href",
"coverUrl": {
"rule": "///span[2]/a/@href",
"script": "utils.match(result,\"regex:([0-9]+?/[0-9]+?)/##http://img.fqxsw.org/img/$1\\.jpg\");"
},
"state": "///span[5]/text()",
"updateTime": "///span[4]/text()"
}
}
},
{
"name": "🎉 快眼看书",
"site": "https://www.see023.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"enableNext": true,
"content": {
"rule": "auto:1",
"replace": "\"本章未完,点击下一页继续阅读。##\""
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "//div[contains(@id,\"content\")]/a",
"name": "///text()",
"url": "///@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": true,
"filter": true,
"reverse": false,
"autoNext": true,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://www.see023.com?searchkey={{keyword}}",
"charset": "UTF-8",
"mediaType": "",
"dynamicDelayTime": 500
},
"list": {
"rule": "///form/@action",
"script": "baseUrl = utils.absUrl(url,result.slice(1,-1))+url.split(\"com\").pop();utils.log(baseUrl );html = utils.get(baseUrl );result=utils.matchList(html,\"//div[@class='item']\");"
},
"detail": {
"url": {
"rule": "///div[1]/a/@href",
"replace": "\"novel##indexlist\""
},
"title": "///div[1]/a/@title",
"author": "///dl/div/a/text()",
"broadcast": "//",
"category": "//",
"wordCount": "//",
"introduce": "///dl/dd/text()",
"latestChapterName": "//",
"latestChapterUrl": "//",
"coverUrl": "///div[1]/a/img/@data-original",
"state": "//",
"updateTime": "//"
}
}
},
{
"name": "🎉 书趣阁",
"site": "https://www.shuquge.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"content": {
"rule": "auto:1",
"replace": "\"regex:https[\\\\s\\\\S]+##\""
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "//dl/dd/a",
"name": "//text()",
"url": "//@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"filter": true,
"sort": true,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://www.shuquge.com/search.php",
"method": "POST",
"charset": "UTF-8",
"mediaType": "application/x-www-form-urlencoded",
"body": "searchkey={{keyword}}",
"dynamicDelayTime": 500
},
"list": "//*[contains(@class, \"bookbox\")] ",
"detail": {
"url": "//*[contains(@class, \"bookname\")]/a/@href",
"title": "//*[contains(@class, \"bookname\")]/a/text()",
"author": "//*[contains(@class, \"author\")]/text()",
"broadcast": "//",
"category": "//*[contains(@class, \"cat\")]/text()",
"wordCount": "//",
"introduce": "//",
"latestChapterName": "//",
"latestChapterUrl": "//",
"coverUrl": "//",
"state": "//",
"updateTime": "//"
}
}
},
{
"name": "🎉 笔趣阁",
"site": "https://m.biqugeu.net/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 2,
"params": {
"dynamic": true,
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"enableNext": false,
"content": "auto:3",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "//ul[@class=\"cf\"]/li/a",
"name": "//text()",
"url": "//@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"blackUrls": [],
"filter": false,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://so.biqusoso.com/s.php?q={{keyword}}",
"charset": "GBK",
"mediaType": "application/x-www-form-urlencoded",
"dynamicDelayTime": 500
},
"list": "//ul/li",
"detail": {
"url": "///span[2]/a/@href",
"title": "///span[2]/a/text()",
"author": {
"rule": "///span[3]/text()",
"replace": "\"作者:##\""
},
"introduce": {
"replace": "\"简介:##\""
}
}
}
},
{
"name": "🎉 锦绣文学",
"site": "http://www.580bk.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 2,
"params": {},
"content": {
"params": {
"dynamic": true,
"dynamicDelayTime": 1200
},
"content": {
"rule": "auto:2",
"replace": "\"regex:本站小说均通过搜索引擎转码而来[\\\\s\\\\S]+##\""
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"list": "//*[@id=\"list\"]/dl/dd/a",
"name": "//text()",
"url": "//@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"filter": false,
"sort": false,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "http://www.qb5.co/home/search",
"method": "POST",
"charset": "UTF-8",
"mediaType": "application/x-www-form-urlencoded",
"body": "action=search&q={{keyword}}&page=1",
"dynamic": false,
"dynamicDelayTime": 500
},
"list": "//*[contains(@class, \"item-cover\")] ",
"detail": {
"url": "///a/@href",
"title": "///a/@title",
"coverUrl": "///a/img/@src"
}
}
},
{
"name": "🎉 燃文",
"site": "https://www.ranwen.com/",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {},
"content": {
"content": "auto:1",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": true,
"filter": true,
"reverse": false,
"autoNext": true,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://www.ranwen.com/ddfdw333.php?ie=gbk&q={{keyword}}",
"dynamicDelayTime": 500
},
"list": "//div[@class=\"bookbox\"]",
"detail": {
"url": "///div/div[2]/h4/a/@href",
"title": "///div/div[2]/h4/a/text()",
"author": {
"rule": "//div[@class=\"author\"]/text()",
"replace": "\"作者:([\\\\s\\\\S]+)## $1\""
},
"category": {
"rule": "///div/div[2]/div[1]/text()",
"replace": "\"分类:([\\\\s\\\\S]+)## $1\""
},
"introduce": "///div/div[2]/p/text()",
"latestChapterName": "///div/div[2]/div[3]/a/text()",
"latestChapterUrl": "///div/div[2]/div[3]/a/@href",
"coverUrl": "///div/div[1]/a/img/@src"
}
}
},
{
"name": "🎉💰红袖",
"site": "https://appapi.hongxiu.com",
"group": "🎉2022/7/6",
"enabled": false,
"audio": false,
"weight": 0,
"params": {
"cookie": ""
},
"content": {
"params": {
"charset": "UTF-8",
"headers": {
"deviceinfo": "JdxnqW0FkwVrnsScqzAw9KWBZG/yQ+PukPfJf6TZRfOfC+I+HWSUMvvyQbnRz7M88iLL+qR6px/UrjCuXeYlYT6TJC+UE/cXYRFQNrr1yKDdO/AJt/pBb50iUPlITHxElaEmdKPT8wYqNnhqU5uoKjkKIPSX72mPMoN4sx7ISkbHMOvVNWN+c3IQdwwA0efgtAIv56OK034l3A320jLcn7sXVPFSN5Bw/LrxRnqNknQ="
},
"mediaType": "",
"dynamic": false,
"dynamicDelayTime": 500
},
"content": {
"rule": "$.data.chapterContent",
"replace": "\"\\\\r\\\\n##\\n\""
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"params": {
"charset": "UTF-8",
"headers": {
"deviceinfo": "JdxnqW0FkwVrnsScqzAw9KWBZG/yQ+PukPfJf6TZRfOfC+I+HWSUMvvyQbnRz7M88iLL+qR6px/UrjCuXeYlYT6TJC+UE/cXYRFQNrr1yKDdO/AJt/pBb50iUPlITHxElaEmdKPT8wYqNnhqU5uoKjkKIPSX72mPMoN4sx7ISkYn0y6BVW4B87HZ9OnaxYZNEdL2wmiUKxGoKUme2996LcF2ZV994ZXGAh+Am2RCY+s="
},
"mediaType": "application/json",
"dynamicDelayTime": 500
},
"list": {
"script": "var result = new java.util.ArrayList();var r = utils.matchList(source,\"$.data.volumes[1:]\");var bookId = utils.match(source,\"$.data.bookId\");for(var i =0;i<r.length;i++){var conList = utils.matchList(r[i],\"$.chapters\");for(var j=0;j<conList.length;j++){var cname = utils.match(conList[j],\"$.chapterName\");var cid = utils.match(conList[j],\"$.chapterId\");var item = {name:cname,link:\"https://wxapp.hongxiu.com/api/v1/chapter/content?bookId=\"+bookId+\"&chapterId=\"+cid};result.add(utils.toJson(item));}}result"
},
"name": "$.name",
"url": "$.link",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"filter": false,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://appapi.hongxiu.com/api/v3/search/getResult?origin=1&keyword={{keyword}}&type=1&pageIndex=1&pageSize=20",
"charset": "UTF-8",
"headers": {
"deviceinfo": "JdxnqW0FkwVrnsScqzAw9KWBZG/yQ+PukPfJf6TZRfOfC+I+HWSUMvvyQbnRz7M88iLL+qR6px/UrjCuXeYlYT6TJC+UE/cXYRFQNrr1yKDdO/AJt/pBb50iUPlITHxElaEmdKPT8wYqNnhqU5uoKjkKIPSX72mPMoN4sx7ISkYn0y6BVW4B87HZ9OnaxYZNEdL2wmiUKxGoKUme2996LcF2ZV994ZXGAh+Am2RCY+s="
},
"mediaType": "application/json",
"dynamicDelayTime": 500
},
"list": {
"script": "result= new java.util.ArrayList();r1=utils.matchList(source,\"$.data.cards\");for(var i=0;i<r1.length;i++){var t = utils.match(r1[i],\"$.items\");if(String(t)!=\"null\"){t = utils.matchList(r1[i],\"$.items\");result.addAll(t);}}result"
},
"detail": {
"url": {
"rule": "$.bookId",
"replace": "\"regex:([\\\\s\\\\S]+)##https://appapi.hongxiu.com/api/v1/chapter/list?bookId=$1&lastChapterId=0&md5Signature= h2\""
},
"title": "$.bookName",
"author": "$.authorName",
"category": "$.tags",
"wordCount": "$.wordsCntStr",
"introduce": {
"rule": "$.desc",
"replace": "\"regex:[\\\\\\\\r\\\\\\\\n]+##\\n\""
},
"coverUrl": {
"rule": "$.bookId",
"replace": "\"regex:([\\\\s\\\\S]+)##https://hercover-1252317822.image.myqcloud.com/qdbimg/349573/c_$1/180?imageMogr2/format/webp.png\""
},
"state": "$.bookStatusStr"
}
}
},
{
"name": "🎉 喵酱MC",
"site": "https://m.miaojiang8.net/",
"group": "🎉2022/7/6 ",
"enabled": false,
"audio": false,
"weight": 222,
"params": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"enableNext": true,
"content": {
"rule": "auto:2",
"replace": "\"regex:-->>.*##\""
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节章].*']/@href"
},
"toc": {
"list": "//*[@id=\"chapterList\"]/li",
"name": "///a/text()",
"url": "///a/@href",
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": false,
"blackUrls": [],
"filter": false,
"reverse": false,
"autoNext": false,
"forceNext": false
},
"detail": {
"title": "//div[@class=\"block_txt2\"]/h2/a/text()",
"author": "//div[@class=\"block_txt2\"]/p[3]/text()",
"category": "//div[@class=\"block_txt2\"]/p[4]/a/text()",
"introduce": "//div[@class=\"intro_info\"]/text()",
"latestChapterName": "//div[@class=\"block_txt2\"]/p[7]/a/text()",
"latestChapterUrl": "//div[@class=\"block_txt2\"]/p[7]/a/@href",
"coverUrl": {
"rule": "//div[@class=\"block_img2\"]/img/@src",
"page": "detail"
},
"state": "//div[@class=\"block_txt2\"]/p[5]/text()",
"updateTime": "//div[@class=\"block_txt2\"]/p[6]/text()"
},
"search": {
"params": {
"url": "https://m.miaojiang8.net/s.php",
"method": "POST",
"charset": "GBK",
"mediaType": "application/x-www-form-urlencoded",
"body": "type=articlename&s={{keyword}}&submit=",
"dynamicDelayTime": 500
},
"list": "//p[@class=\"line\"]",
"detailPage": "///a[2]/@href ",
"detail": {
"url": {
"rule": "///a[2]/@href",
"page": "search"
},
"title": "//div[@class=\"block_txt2\"]/h2/a/text()",
"author": "//div[@class=\"block_txt2\"]/p[3]/text()",
"category": "//div[@class=\"block_txt2\"]/p[4]/a/text()",
"introduce": "//div[@class=\"intro_info\"]/text()",
"latestChapterName": "//div[@class=\"block_txt2\"]/p[7]/a/text()",
"latestChapterUrl": "//div[@class=\"block_txt2\"]/p[7]/a/@href",
"coverUrl": "//div[@class=\"block_img2\"]/img/@src",
"state": "//div[@class=\"block_txt2\"]/p[5]/text()",
"updateTime": "//div[@class=\"block_txt2\"]/p[6]/text()"
}
}
},
{
"name": "🎉 妙笔阁",
"site": "https://www.imiaobige.com/",
"group": "🎉 2022/7/6 ",
"enabled": false,
"audio": false,
"weight": 222,
"params": {
"cookie": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
},
"content": {
"content": {
"rule": "auto:1",
"replace": [
"regex:您可以[\\s\\S]+?章节!\\n##",
"regex:\\n第.+?章.+?\\n##"
]
},
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href"
},
"toc": {
"next": "xpath://a[text()~='.*?下[一]{0,1}[页节].*']/@href",
"enableNext": true,
"filter": true,
"sort": true,
"reverse": false,
"autoNext": true,
"forceNext": false
},
"detail": {},
"search": {
"params": {
"url": "https://www.imiaobige.com/search.html",
"method": "POST",
"charset": "UTF-8",
"mediaType": "application/x-www-form-urlencoded",
"body": "searchkey={{keyword}}",
"dynamicDelayTime": 500
},
"list": "//*[@id=\"sitembox\"]/dl",
"detail": {
"url": {
"rule": "///dt/a/@href",
"replace": [
".html##",
"novel##read"
]
},
"title": "///dd[1]/h3/a/text()",
"author": "///dd[2]/a[2]/text()",
"category": "///dd[2]/a[1]/text()",
"wordCount": "///dd[2]/span[2]/text()",
"introduce": "///dd[3]/text()",
"latestChapterName": "///dd[4]/a/text()",
"latestChapterUrl": "///dd[4]/a/@href",
"coverUrl": "///dt/a/img/@src",
"state": "///dd[2]/span[1]/text()",
"updateTime": "///dd[4]/span/text()"
}
}
}
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化