笔趣阁
http://www.156n.com#search-list li
采集机器人 (2)2023/04/01
数据采集
{
"bookSourceComment": "xpath;coolapk@芜恙;wordCount;intro",
"bookSourceGroup": "酷友",
"bookSourceName": "笔趣阁",
"bookSourceType": 0,
"bookSourceUrl": "http:\/\/www.156n.com#search-list li",
"bookUrlPattern": "http:\/\/www.156n.com\/html\/\\d+\/\\d+\/",
"customOrder": 0,
"enabled": true,
"enabledExplore": false,
"exploreUrl": "",
"header": "",
"lastUpdateTime": 1602907193668,
"loginUrl": "",
"ruleBookInfo": {
"author": "\/\/*[@property=\"og:novel:author\"]\/@content",
"coverUrl": "\/\/*[@property=\"og:image\"]\/@content",
"intro": "\/\/*[@id=\"intro\"]##(^|[。!?]+[”」)】]?)##$1<br>",
"kind": "\/\/*[@property=\"og:novel:category\"]\/@content&&\n\/\/*[@property=\"og:novel:status\"]\/@content##中|已",
"lastChapter": "\/\/*[@property=\"og:novel:latest_chapter_name\"]\/@content&&\/\/*[@property=\"og:novel:update_time\"]\/@content\n<js>\nvar n = result.replace(\/(\\\/|\\n).*\/g, '');\nvar t = result.match(\/-(\\d+-\\d+)\/)[1];\nn + '▪' + t\n<\/js>",
"name": "\/\/*[@property=\"og:novel:book_name\"]\/@content",
"tocUrl": "\/\/*[@property=\"og:novel:read_url\"]\/@content",
"wordCount": ""
},
"ruleContent": {
"content": "\/\/*[@id=\"content\"]\/p",
"imageStyle": "",
"nextContentUrl": "",
"webJs": ""
},
"ruleExplore": {
"author": "",
"bookList": "",
"bookUrl": "",
"coverUrl": "",
"intro": "",
"kind": "",
"lastChapter": "",
"name": "",
"wordCount": ""
},
"ruleSearch": {
"author": "\/\/span[4]\/text()",
"bookList": "\/\/*[@class=\"search-list\"]\/ul\/li[position()>1]",
"bookUrl": "\/\/span[2]\/a\/@href",
"coverUrl": "\/\/span[2]\/a\/@href##.*\/((\\d+)\\d{3})\/##http:\/\/www.156n.com\/img\/$2\/$1.jpg",
"intro": "",
"kind": "\/\/span[1]\/text()&&\/\/span[6]\/text()##\\[|\\]",
"lastChapter": "\/\/span[3]\/a\/text()&&\/\/span[5]\/text()\n<js>\nvar n = result.replace(\/\\n.*\/, '');\nvar t = result.match(\/-(\\d+-\\d+)\/)[1];\nn + '▪' + t\n<\/js>",
"name": "\/\/span[2]\/a\/\/text()",
"wordCount": ""
},
"ruleToc": {
"chapterList": "\/\/*[@id=\"list\"]\/dl\/dd\/a",
"chapterName": "text",
"chapterUrl": "href",
"nextTocUrl": "",
"updateTime": ""
},
"searchUrl": "\/search.php,{\n \"method\": \"POST\",\n \"body\": \"keyword={{key}}\"\n}",
"weight": 0
}