Skip to content

Instantly share code, notes, and snippets.

@zsakvo
Created December 12, 2018 08:25
Show Gist options
  • Select an option

  • Save zsakvo/64a79f3f5c3802ac2003ab33d271afb8 to your computer and use it in GitHub Desktop.

Select an option

Save zsakvo/64a79f3f5c3802ac2003ab33d271afb8 to your computer and use it in GitHub Desktop.
BookSource-wenku8
{
"bookSourceGroup": "",
"bookSourceName": "轻小说文库",
"bookSourceUrl": "https://www.wenku8.net",
"checkUrl": "",
"enable": true,
"httpUserAgent": "",
"loginUrl": "https://www.wenku8.net/login.php",
"ruleBookAuthor": "",
"ruleBookContent": "id.content@textNodes",
"ruleBookKind": "",
"ruleBookLastChapter": "class.f1@text",
"ruleBookName": "",
"ruleBookUrlPattern": "",
"ruleChapterList": "class.ccss",
"ruleChapterName": "tag.a.0@text",
"ruleChapterUrl": "tag.fieldset.0@tag.a.0@href",
"ruleChapterUrlNext": "",
"ruleContentUrl": "tag.a.0@href",
"ruleContentUrlNext": "",
"ruleCoverUrl": "",
"ruleFindUrl": "",
"ruleIntroduce": "@css:td[width=48%]@html@js:result.replace(/[\\s\\S]*?内容简介.[\\s\\S]/g,\"\")",
"ruleSearchAuthor": "@css:div[style=margin-top:5px;]@tag.p.0@text|tag.tbody.0@tag.tr.2@tag.td.1@text@js:result.replace(\"小说\",\"\").replace(/\\/.+/g,\"\")",
"ruleSearchCoverUrl": "tag.img.0@src",
"ruleSearchKind": "tag.tbody.0@tag.tr.2@tag.td.0@text|tag.p.0@text@js:result.replace(/.+分类:|\\/.+/g,\"\").replace(/文库分类./g,\"\")",
"ruleSearchLastChapter": "",
"ruleSearchList": "id.centerm@tag.td@children|id.centerl",
"ruleSearchName": "tag.a.0@title|tag.b.0@text",
"ruleSearchNoteUrl": "tag.b.0@tag.a.0@href",
"ruleSearchUrl": "https://www.wenku8.net/modules/article/search.php?searchkey=searchKey&page=searchPage|char=gbk",
"serialNumber": 0,
"weight": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment