123读
https://www.123du.cc
采集机器人 (2)2023/04/01
数据采集
{
"bookSourceComment": "正文没加载出来请刷新\n缺失的章节内容在他的上一章",
"bookSourceName": "123读",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.123du.cc",
"customOrder": 0,
"enabled": true,
"enabledExplore": true,
"lastUpdateTime": 0,
"ruleBookInfo": {
"author": "##>作者:([^<]+)<##$1###",
"intro": "class.DivBigIntro.-1@text",
"kind": "##类型:([^<]+)<##$1###",
"tocUrl": "\/\/*[contains(text(), \"全集目录\")]\/@href"
},
"ruleContent": {
"content": "\/\/h1@html&&\/\/*[@id=\"PageSet\"]\/preceding-sibling::div[-2]@html",
"nextContentUrl": "text.下一页@href||tag.ul.tag.li.0@a@href\n@js:baseUrl.replace(\/\\d+(-\\d+)*.html\/,result.toArray()[0])",
"replaceRegex": "\n##转载请注明出处:www.123du.cc 。|;pma本;pma文;pma来;pma源;pma:123;pma读;pma书;pma网。|(?<=。).*?提醒你:看后求收藏123读书网,接着再看好方便。|本文来源:123读书网。|…。\\n.*"
},
"ruleExplore": {},
"ruleSearch": {
"author": "author",
"bookList": "@js:\nlist=result.match(\/小说:<a[\\s\\S]+?<hr\/g);\njson=[];\nfor(i=0;i<list.length;i++){\ndoc=org.jsoup.Jsoup.parse(list[i]);\ntitle=doc.select('.Title').text();\nhref=doc.select('.Title').attr('href');\ntags=doc.select('font').toArray();\nauthor=tags[1].text();tag=tags[2].text()+','+tags[3].text();\nintro=doc.select('.DivSmallInstro').text();\njson.push({href:href,title:title,tag:tag,author:author,intro:intro})\n}\njson",
"bookUrl": "href",
"intro": "intro",
"kind": "tag",
"name": "title"
},
"ruleToc": {
"chapterList": "id.DivTitleList@a\n@js:list=result.toArray();\nchapter=[];\nfor(i=1;i<list.length;i=i+2){\nchapter.push(list[i])\n}\nchapter.sort((a,b)=>a.attr('href').match(\/(\\d+).html\/)[1]-b.attr('href').match(\/(\\d+).html\/)[1]).map(x=>({text:x.text(),href:x.attr('href')+',{\"webView\":true}'}))",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "https:\/\/www.123du.cc\/Search\/,{\n\"charset\": \"gbk\",\n\"method\": \"POST\",\n\"body\": \"st=0&q={{key}}\"\n}",
"weight": 0
}