艾一小说

https://iyishus.com

mctiantian2501314 (2333)01/01 14:28

正文解密 目录页 搜索  by@boavine(boavine@163.com)
 修复目录页by@天天的鸟蛋蛋
___

	同模板
	西瓜书屋:https://www.xiguasw.com (原)
	艾一小说:https://iyishus.com
	
___
目录页面解决办法 
boavine用的是这个,但是一碰到同模板的就不行了。

html=result.replace(/最新章节可能会延时显示.+?dl>/g,'');
result=html;

我用的是

html=result.replace(/.*?最新章节可能会延时显示.*?/g,'');
result=html;

完美解决同模板问题

二维码导入
{
    "bookSourceComment": "正文解密 目录页 搜索  by@boavine(boavine@163.com)\n 修复目录页by@天天的鸟蛋蛋\n___\n\n\t同模板\n\t西瓜书屋:https:\/\/www.xiguasw.com (原)\n\t艾一小说:https:\/\/iyishus.com\n\t\n___\n目录页面解决办法 \nboavine用的是这个,但是一碰到同模板的就不行了。\n<js>\nhtml=result.replace(\/最新章节可能会延时显示.+?dl>\/g,'');\nresult=html;\n<\/js>\n我用的是\n<js>\nhtml=result.replace(\/.*?最新章节可能会延时显示.*?\/g,'');\nresult=html;\n<\/js>\n完美解决同模板问题\n\n",
    "bookSourceGroup": "",
    "bookSourceName": "艾一小说",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/iyishus.com",
    "customOrder": 1137,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "exploreUrl": "都市小说::\/dushixiaoshuo\/\n青春小说::\/qingchunxiaoshuo\/\n悬疑小说::\/xuanyixiaoshuo\/\n游戏竞技::\/youxijingji\/\n科幻小说::\/kehuanxiaoshuo\/\n架空历史::\/jiakonglishi\/\n东方玄幻::\/dongfangxuanhuan\/\n更新作品::\/shuku\/\n全本作品::\/quanben.html\n热门作品::\/top.html\n我的书架::\/user\/",
    "header": "{\"referer\": \"{{source.getKey()}}\/\",\n\"x-requested-with\": \"mark.via\",\n\"accept-language\": \"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7\",\n\"user-agent\": \"Mozilla\/5.0 (Linux; Android 10; PACM00 Build\/QP1A.190711.020) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/108.0.5359.79 Mobile Safari\/537.36\"}",
    "lastUpdateTime": "1735712919495",
    "loginUrl": "https:\/\/iyishus.com\/user\/login.html",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "id.info@p.0@text",
        "coverUrl": "id.fmimg@img@src##^##https:\/",
        "intro": "class.chapter-desc@text",
        "kind": "class.con_top@a.2@text",
        "lastChapter": "id.info@p.3@a@text",
        "name": "id.info@h1@text",
        "wordCount": ""
    },
    "ruleContent": {
        "content": "<js>\nurl=\"https:\"+result.match(\/initTxt\\(\"([^\"]+)\",\"[^\"]+\"\\)\/)[1];\nr=String(java.ajax(url).match(\/_txt_call\\(([\\s\\S]+\\})\\)\/)[1]);\nvar r = eval('(' + r + ')');\n\t\t\t\tif(r.content!=null){\t\t\t\t\n      var e = r.replace;\n\t\t\t\tfor (var n in e) {\n\t\t\t\t\tvar i = new RegExp(e[n], \"ig\");\n\t\t\t\t\tr.content = r.content.replace(i, n)\n\t\t\t\t}\n\t\t\t\tresult=r.content\n\t\t\t\t\t}else{result=\"章节加载失败,或者容正在手打中,请【收藏本站】稍访问或者联系管理员更新~\"}\n<\/js>",
        "imageDecode": "@js:ava.base64Decode()"
    },
    "ruleExplore": {},
    "ruleSearch": {
        "author": "class.s4@text",
        "bookList": "id.newscontent@ul@tag.li",
        "bookUrl": "class.s2@a@href",
        "checkKeyWord": "",
        "kind": "class.s1@text##\\[(.+)\\]##$1",
        "lastChapter": "class.s3@text",
        "name": "class.s2@text"
    },
    "ruleToc": {
        "chapterList": "<js>\nhtml=result.replace(\/.*?最新章节可能会延时显示.*?\/g,'');\nresult=html;\n<\/js>\ntag.dd",
        "chapterName": "@a@text",
        "chapterUrl": "@a@href",
        "nextTocUrl": "class.pages@a.-1@href",
        "preUpdateJs": ""
    },
    "searchUrl": "\/search\/8g.html,{\n\"method\": \"POST\",\n\"body\": \"keyword={{key}}\"\n}",
    "weight": 0
}
广告