古龙武侠网m
https://m.gulongbbs.com/
guaner001125 (317)10/05 03:11
有些提示无版权的在手机版可以看
{
"bookSourceName": "古龙武侠网m",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/m.gulongbbs.com\/",
"bookUrlPattern": "https?:\/\/.*gulongbbs.com.*",
"customOrder": 4,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": true,
"exploreUrl": "古龙全集::\/book\/\n金庸全集::\/jinyong\/\n武侠全集::\/wuxia\/",
"lastUpdateTime": "1759605115752",
"loginUrl": "https:\/\/www.gulongbbs.com\/",
"respondTime": 180000,
"ruleBookInfo": {
"author": "tag.title@text##(.*?)《.*?》##$1###",
"canReName": "1",
"coverUrl": "class.ctr@tag.img@src",
"init": "@js:\nif(\/window.location.href='[^']+';\/.test(result)){\n\t re = result.match(\/window.location.href='([^']+)';\/)[1];\n\t if(\/www\/.test(re)){\n\t \t re = re.replace(\/www\/,'m');\n\t \t}\n\t java.put(\"url\",re);\n url = \/\\\/\\\/m\\.\/.test(re)?re:source.key+re.replace(\/^\\\/\/,'');\n result = java.ajax(url)\n}\nresult",
"intro": "class.ctr@html",
"name": "tag.title@text##《(.*?)》|([^《]+)_.*##$1$2###",
"tocUrl": "@js:\n\nif(java.get(\"url\")){\n result = java.get(\"url\")\n}\nresult"
},
"ruleContent": {
"content": "<js>\ncontent = java.getString(\"@@class.articleContent@html||id.Article@class.content@html||class.t_msgfont@html||id.new@html||class.t_f@html||tag.fieldset@html||tag.span@p@html\");\nif(content!=\"\"){\n\tresult = content\n\t}else{\n\tif(book.durChapterIndex === chapter.index){\n\t\t\n\t\turl = baseUrl;\n\t\tjava.log(url)\n\t\ttitle = \"{{chapter.title}}\";\n\t\turl = \"legado:\/\/import\/addToBookshelf?src=\"+encodeURIComponent(url);\n\t\thtml = `<!DOCTYPE html>\n<html>\n<head>\n <title>《${title}》加入书架<\/title>\n <meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\">\n<\/head>\n<body> \n <div class=\"book-title\">《${title}》<a href=\"${url}\" class=\"action-button\">点击加入书架<\/a><\/div> \n <script>\n window.onload = function () {\n window.location.href = '${url}';\n };\n <\/script>\n<\/body>\n<\/html>\n`;\t\t\n\t\tscript = `data:text\/html;charset=utf-8,${encodeURIComponent(html)}`;\n\t\tjava.startBrowser(script,\"《\"+title+\"》\");\n\t}\n\tresult = \"刷新正文跳转加入书架页面\"\n\t\t}\n<\/js>",
"imageStyle": "FULL",
"nextContentUrl": "text.下一页@href"
},
"ruleExplore": {
"bookList": "id.customers@tr@td",
"bookUrl": "tag.a.0@href",
"name": "text##^[A-Z]$"
},
"ruleSearch": {
"author": "h4.blue@text||div.ui-pagetitle@text##(.*?)《.*?》##$1###",
"name": "h4.blue@text||div.ui-pagetitle@text##《(.*?)》##$1###"
},
"ruleToc": {
"chapterList": "\/\/ul[@class=\"list lh24 f14\"]\/\/a||\/\/*[class=\"alt\"]\/\/a||\/\/*[@id=\"customers\"]\/\/td||\/\/*[@bgcolor=\"FFFFFF\"]\/\/a||\/\/*[@bgcolor=\"#ffffff\"]\/\/a||\/\/*[@bgcolor=\"#FFFFFF\"]\/\/a[@href]||\/\/a[@class=\"1\"]||\/\/body",
"chapterName": "class.main_ArticleTitle@text||tag.a@text",
"chapterUrl": "a@href||href##\\.html\\.html##.html",
"isVolume": "tag.b@text",
"nextTocUrl": "text.下一页@href",
"updateTime": "tag.span@text"
},
"weight": 0
}