小原文学
https://min-yuan.com/
engiabo (12214)03/24 18:39
使用必应搜索引擎替代网站自带搜索功能
{
"bookSourceComment": "使用必应搜索引擎替代网站自带搜索功能",
"bookSourceGroup": "小说",
"bookSourceName": "小原文学",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/min-yuan.com\/",
"bookUrlPattern": "https?:\/\/min-yuan.com\/(book|bookinfo)\/[^\/]+\/?",
"customButton": false,
"customOrder": 0,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": false,
"eventListener": false,
"lastUpdateTime": "1774348753847",
"respondTime": 180000,
"ruleBookInfo": {
"author": "[property$=author]@content",
"coverUrl": "[property$=image]@content",
"intro": "🕰 更新时间:\n{{@@[property$=update_time]@content##\\s.*}}\n📜 内容简介:\n{{@@[property$=description]@content}}##(^|[。!?……;]+[」)】]?)##$1<br>",
"kind": "[property~=category|status|update_time]@content##\\s.*",
"lastChapter": "{{@@[property$=chapter_name]@content##正文卷.|正文.|VIP卷.|默认卷.|卷_|VIP章节.|免费章节.|章节目录.|最新章节.|[((【].*?[求含理更谢乐发推票盟补加字].*?[】))]}}•{{@@[property$=update_time]@content##\\s.*}}\n@js:result\n.replace(\"••\",\"\")\n.replace(\/^(\\d+).第\/,'第')\n.replace(\/^(\\d+)[、.]第.+章\/,'第$1章')\n.replace(\/^(\\d+)、\\d+、\/,'第$1章 ')\n.replace(\/^(\\d+)、\\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"
},
"ruleContent": {
"content": "#booktxt@p@text",
"nextContentUrl": "text.下一章@href",
"replaceRegex": "##.本章完."
},
"ruleExplore": {},
"ruleSearch": {
"bookList": "ol#b_results .b_algo",
"bookUrl": "h2 a@href##.*min-yuan\\.com\/(?:book|bookinfo)\/([^\/?]+).*##https:\/\/min-yuan.com\/book\/$1\/",
"checkKeyWord": "min-yuan.com",
"name": "text##.*《([^》]+)》.*##$1"
},
"ruleToc": {
"chapterList": "#newlist@dd@a",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "https:\/\/cn.bing.com\/search?q=site:min-yuan.com+{{key}}&first={{(page-1)*10}}",
"weight": 0
}