69书吧 (添加特殊搜索模式)
https://69shuba.cx/
team9vesslan (6983)2024/11/25
搜索不好用了,所以添加了两个规则,能用。 #11111,“#”加上书页网址htm前面的数字,可以添加该书 @穿越,“@”加上标签名,可以列出该标签下的小说 需要挂梯子,自用修改if(result.match(/Just a moment/)){ cookie.removeCookie(source.bookSourceUrl) var x=baseUrl; var s=java.startBrowserAwait(x,"验证").body() result=s; }else{ result=result; } result
{ "bookSourceComment": "搜索不好用了,所以添加了两个规则,能用。\n#11111,“#”加上书页网址htm前面的数字,可以添加该书\n@穿越,“@”加上标签名,可以列出该标签下的小说\n需要挂梯子,自用修改\n<js>\nif(result.match(\/Just a moment\/)){\ncookie.removeCookie(source.bookSourceUrl)\nvar x=baseUrl;\nvar s=java.startBrowserAwait(x,\"验证\").body()\nresult=s;\n\t}else{\n\t\tresult=result;\n\t\t}\nresult\n<\/js>", "bookSourceName": "69书吧 (添加特殊搜索模式)", "bookSourceType": 0, "bookSourceUrl": "https:\/\/69shuba.cx\/", "bookUrlPattern": "https:\/\/69shuba.cx\/book\/[0-9]+.htm", "concurrentRate": "20\/60000", "customOrder": 0, "enabled": true, "enabledCookieJar": false, "enabledExplore": false, "header": "{\n \"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/77.0.3865.120 Safari\/537.36\",\n \"Accept-Language\":\"zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7\"}", "lastUpdateTime": "1732475286876", "loginUrl": "https:\/\/69shuba.cx\/", "respondTime": 180000, "ruleBookInfo": { "author": "[property$=author]@content", "coverUrl": "[property$=image]@content", "intro": "更新:\n{{@@[property$=update_time]@content}}\n简介:\n{{@@[email protected]@html}}", "kind": "[property~=category|status|update_time]@content&&[email protected]@text##节数", "lastChapter": "[property$=chapter_name]@content\n##\\d+\\.|(.*|\\(.*|【.*|(零|一|二|三|四|五|六|七|八|九|十|百|千|万)(.|\\s)*章|“|”\n@js:result\n.replace(\"••\",\"\")\n.replace(\/^(\\d+).第\/,'第')\n.replace(\/^(正文|VIP章节|最新章节)?(\\s+|_)|[\\(\\{({【].*[求更谢乐发推票盟补加字Kk\\\/].*[\\)\\})}】]\/g,'')\n.replace(\/^(\\d+)[、.]第.+章\/,'第$1章')\n.replace(\/^(\\d+)、\\d+、\/,'第$1章 ')\n.replace(\/^(\\d+)、\\d+\/,'第$1章')\n.replace(\/^(第.+章)\\s?\\d+\/,'$1')\n.replace(\/^(\\d+)、\/,'第$1章 ')\n.replace(\/^(第.+章)\\s?第.+章\/,'$1')\n.replace(\/第\\s(.+)\\s章\/,'第$1章')\n.replace(\/.*(chapter|Chapter)\\s?(\\d+)\\s?\/,'$1 $2 ')\n.replace(\/\\(.+\\)\/,'')\n.replace(\/\\[|。\/,'')\n.replace(\/第([零一二三四五六七八九十百千]+)章\/g,java.toNumChapter(result))\n##(章)([^\\s]+)(\\s·)##$1 $2$3", "name": "[property$=book_name]@content", "tocUrl": "text.完整目录@href||class.btn more-btn@href##.*?com", "wordCount": "[email protected]@textNodes" }, "ruleContent": { "content": "class.txtnav@!1@html", "replaceRegex": "##{{book.durChapterTitle}}|.*作者:.*|\\(本章完\\)|PS:.*求推荐!|PS:.*求收藏!|.*第.*章.*|感谢.*打赏.*|感谢.*推荐票.*|感谢.*月票.*|(.*月票.*)|(为大家的.*票加更.*)|第二更在.*" }, "ruleExplore": {}, "ruleReview": {}, "ruleSearch": { "author": "tag.label.0@text", "bookList": "<js>\nif(result.match(\/Just a moment\/)){\ncookie.removeCookie(source.bookSourceUrl)\nvar x=baseUrl;\nvar s=java.startBrowserAwait(x,\"验证\").body()\nresult=s;\n\t}else{\n\t\tresult=result;\n\t\t}\nresult\n<\/js>\nclass.newbox@ul@li\n#article_list_content ul@li||#[email protected]@div.0@ul@li||class.newlistbox@ul@li", "bookUrl": "class.btn btn-tp@href", "coverUrl": "tag.img@src\n<js>\nif(baseUrl.match(\"cdn\/images\/nc.jpg\")){baseUrl=\"\";}<\/js>", "intro": "tag.ol.0@text", "kind": "tag.label.1@text&&tag.label.2@text", "name": "h3@text" }, "ruleToc": { "chapterList": "-id.catalog@ul@li@a", "chapterName": "text", "chapterUrl": "href" }, "searchUrl": "<js>\nif(key.match(\/#\/)){\nresult='https:\/\/69shuba.cx\/b\/'+encodeURI(key.match(\/^(?:#|#)(.*)\/)[1])+'.htm';}\nelse if(key.match(\/@\/)){\nresult='https:\/\/69shuba.cx\/booklist\/tag\/'+encodeURI(key.match(\/^@(.*)\/)[1])+'\/';}\nelse{\tresult='https:\/\/69shuba.cx\/modules\/article\/search.php,{\"charset\": \"gbk\", \"method\": \"POST\", \"body\": \"searchkey='+key+'&searchtype=all\"}';}\nresult<\/js>", "weight": 0 }