🎆起点中文网(按钮筛选)

https://m.qidian.com#按钮筛选

Suml-1 (9173)02/11 16:26

发现界面可以用按钮筛选,只支持最新版洛娅橙改版阅读Σ\n请安装后重新导入书源https://loyc.xyz/c/legado.html#download
二维码导入
{
    "bookSourceComment": "重要提示!!!!!!!!!!\n\"\n本书源只支持最新版洛娅橙改版阅读Σ\\n请安装后重新导入书源https:\/\/loyc.xyz\/c\/legado.html#download\n\"\n\/\/在小说迷的帮助下完善了Volume规则\n\/\/260211小新在竹坞风发的书源基础上添加筛选按钮,不确定这个源是不是竹坞风写的,因为仓库里他发的源都会加个🎃\n还稍微改了一下其他规则和修复无效规则\n在另一个发现规则一样的源看到如下信息:\n\"发现列表规则等代码by:http:\/\/sy.legado1.top\/sy.php\/7b0b4ca64d07750d75e4eff05a28dd40.json\n发现规则by:楠枫\n有3-7个发现本身网站就是空的,我检查的时候没删,如  现实—成功励志\"",
    "bookSourceGroup": "悬赏,常用,起点",
    "bookSourceName": "🎆起点中文网(按钮筛选)",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/m.qidian.com#按钮筛选",
    "customButton": false,
    "customOrder": -410,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "exploreUrl": "@js:\ntry {\n    \/\/ 初始化结果数组,用于存储菜单项数据\n    var result = [];\n\n    \/\/初始化源变量\n    csh();\n\n\n    \/\/辅助函数:向结果数组添加菜单项\n    var push = (title, url, size) => result.push({\n        \"title\": title,\n        \"url\": url,\n        \"style\": {\n            \"layout_flexGrow\": 1,\n            \"layout_flexBasisPercent\": size\n        }\n    });\n\n    push(\"🔥榜单🔥\", null, 1);\n    push(\"月票榜\", `\/majax\/rank\/yuepiaolist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"畅销榜\", `\/majax\/rank\/hotsaleslist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"阅读榜\", `\/majax\/rank\/readindexlist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"书友榜\", `\/majax\/rank\/newfanslist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"推荐榜\", `\/majax\/rank\/reclist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"更新榜\", `\/majax\/rank\/updatelist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"签约榜\", `\/majax\/rank\/signlist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"新书榜\", `\/majax\/rank\/newbooklist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"新人榜\", `\/majax\/rank\/newauthorlist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"三江推荐\", `\/majax\/recommend\/sanjiangList?pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"新书强推\", `\/majax\/recommend\/strongreclist?gender=male&pageNum={{page}}&catId=-1&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"人气免费\", `\/majax\/recommend\/hotFreelist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"新书免费\", `\/majax\/recommend\/freeNewlist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"新书抢先\", `\/majax\/recommend\/newBooklist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n    push(\"畅销完本\", `\/majax\/recommend\/bestSelllist?gender=male&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`, 0.25);\n\n\n\n    push(\"🔥点击筛选🔥\", null, 1);\n\n    result.push(createFilter(\n        \"排序\",\n        [\"人气\", \"时间\", \"字数\", \"收藏\", \"推荐\", \"点击\"],\n        \"人气\",\n        \"orderBy\",\n        0.33\n    ));\n\n    result.push(createFilter(\n        \"字数\",\n        [\"全部\", \"30万以下\", \"30-50万\", \"50-100万\", \"100-200万\", \"200万以上\"],\n        \"全部\",\n        \"size\",\n        0.33\n    ));\n\n    result.push(createFilter(\n        \"状态\",\n        [\"连载\", \"完本\"],\n        \"连载\",\n        \"isfinish\",\n        0.33\n    ));\n    result.push(createFilter(\n        \"分类\",\n        [\"🎆玄幻🎆\", \"🎆奇幻🎆\", \"🎆武侠🎆\", \"🎆仙侠🎆\", \"🎆都市🎆\", \"🎆现实🎆\", \"🎆军事🎆\", \"🎆历史🎆\", \"🎆游戏🎆\", \"🎆体育🎆\", \"🎆科幻🎆\", \"🎆悬疑🎆\", \"🎆诸天无限🎆\", \"🎆轻小说🎆\", \"🎆短篇🎆\"],\n        \"全部\",\n        \"sort\",\n        0.33\n    ));\n\n\n    \/\/ 分类参数映射表\n    var orderBy_dic = {\n        \"人气\": \"\",\n        \"时间\": \"4\",\n        \"字数\": \"3\",\n        \"收藏\": \"11\",\n        \"推荐\": \"9\",\n        \"点击\": \"1\"\n\n    };\n\n    var size_dic = {\n        \"全部\": \"\",\n        \"30万以下\": \"1\",\n        \"30-50万\": \"2\",\n        \"50-100万\": \"3\",\n        \"100-200万\": \"4\",\n        \"200万以上\": \"5\"\n    };\n\n    var isfinish_dic = {\n        \"连载\": \"\",\n        \"完本\": \"1\"\n    };\n\n\n    var type_dic = {\n        \"🎆玄幻🎆\": {\n            \"🎆玄幻🎆\": \"catId=21\",\n            \"东方玄幻\": \"catId=21&subCatId=8\",\n            \"异世大陆\": \"catId=21&subCatId=73\",\n            \"王朝争霸\": \"catId=21&subCatId=58\",\n            \"高武世界\": \"catId=21&subCatId=78\"\n        },\n        \"🎆奇幻🎆\": {\n            \"🎆奇幻🎆\": \"catId=1\",\n            \"现代魔法\": \"catId=1&subCatId=38\",\n            \"剑与魔法\": \"catId=1&subCatId=62\",\n            \"史诗奇幻\": \"catId=1&subCatId=201\",\n            \"神秘幻想\": \"catId=1&subCatId=202\",\n            \"历史神话\": \"catId=1&subCatId=20092\",\n            \"另类幻想\": \"catId=1&subCatId=20093\"\n        },\n        \"🎆武侠🎆\": {\n            \"🎆武侠🎆\": \"catId=2\",\n            \"传统武侠\": \"catId=2&subCatId=5\",\n            \"武侠幻想\": \"catId=2&subCatId=30\",\n            \"国士无双\": \"catId=2&subCatId=206\",\n            \"古武未来\": \"catId=2&subCatId=20099\",\n            \"武侠同人\": \"catId=2&subCatId=20100\"\n        },\n        \"🎆仙侠🎆\": {\n            \"🎆仙侠🎆\": \"catId=22\",\n            \"修真文明\": \"catId=22&subCatId=18\",\n            \"幻想修仙\": \"catId=22&subCatId=44\",\n            \"现代修真\": \"catId=22&subCatId=64\",\n            \"神话修真\": \"catId=22&subCatId=207\",\n            \"古典仙侠\": \"catId=22&subCatId=20101\"\n        },\n        \"🎆都市🎆\": {\n            \"🎆都市🎆\": \"catId=4\",\n            \"爱情婚姻\": \"catId=4&subCatId=65535\",\n            \"都市生活\": \"catId=4&subCatId=12\",\n            \"都市异能\": \"catId=4&subCatId=16\",\n            \"异术超能\": \"catId=4&subCatId=74\",\n            \"青春校园\": \"catId=4&subCatId=130\",\n            \"娱乐明星\": \"catId=4&subCatId=151\",\n            \"商战职场\": \"catId=4&subCatId=153\"\n        },\n        \"🎆现实🎆\": {\n            \"🎆现实🎆\": \"catId=15\",\n            \"时代叙事\": \"catId=15&subCatId=20106\",\n            \"家庭伦理\": \"catId=15&subCatId=6\",\n            \"女性题材\": \"catId=15&subCatId=20104\",\n            \"青年故事\": \"catId=15&subCatId=20108\",\n            \"社会悬疑\": \"catId=15&subCatId=20105\",\n            \"人间百态\": \"catId=15&subCatId=209\",\n            \"成功励志\": \"catId=15&subCatId=20107\"\n        },\n        \"🎆军事🎆\": {\n            \"🎆军事🎆\": \"catId=6\",\n            \"军旅生涯\": \"catId=6&subCatId=54\",\n            \"军事战争\": \"catId=6&subCatId=65\",\n            \"战争幻想\": \"catId=6&subCatId=80\",\n            \"抗战烽火\": \"catId=6&subCatId=230\",\n            \"谍战特工\": \"catId=6&subCatId=231\"\n        },\n        \"🎆历史🎆\": {\n            \"🎆历史🎆\": \"catId=5\",\n            \"架空历史\": \"catId=5&subCatId=22\",\n            \"秦汉三国\": \"catId=5&subCatId=48\",\n            \"上古先秦\": \"catId=5&subCatId=220\",\n            \"历史传记\": \"catId=5&subCatId=32\",\n            \"两晋隋唐\": \"catId=5&subCatId=222\",\n            \"五代十国\": \"catId=5&subCatId=223\",\n            \"两宋元明\": \"catId=5&subCatId=224\",\n            \"清史民国\": \"catId=5&subCatId=225\",\n            \"外国历史\": \"catId=5&subCatId=226\",\n            \"民间传说\": \"catId=5&subCatId=20094\"\n        },\n        \"🎆游戏🎆\": {\n            \"🎆游戏🎆\": \"catId=7\",\n            \"电子竞技\": \"catId=7&subCatId=7\",\n            \"虚拟网游\": \"catId=7&subCatId=70\",\n            \"游戏异界\": \"catId=7&subCatId=240\",\n            \"游戏系统\": \"catId=7&subCatId=20102\",\n            \"游戏主播\": \"catId=7&subCatId=20103\"\n        },\n        \"🎆体育🎆\": {\n            \"🎆体育🎆\": \"catId=8\",\n            \"篮球运动\": \"catId=8&subCatId=28\",\n            \"体育赛事\": \"catId=8&subCatId=55\",\n            \"足球运动\": \"catId=8&subCatId=82\"\n        },\n        \"🎆科幻🎆\": {\n            \"🎆科幻🎆\": \"catId=9\",\n            \"古武机甲\": \"catId=9&subCatId=21\",\n            \"未来世界\": \"catId=9&subCatId=25\",\n            \"星际文明\": \"catId=9&subCatId=68\",\n            \"超级科技\": \"catId=9&subCatId=250\",\n            \"时空穿梭\": \"catId=9&subCatId=251\",\n            \"进化变异\": \"catId=9&subCatId=252\",\n            \"末世危机\": \"catId=9&subCatId=253\"\n        },\n        \"🎆悬疑🎆\": {\n            \"🎆悬疑🎆\": \"catId=10\",\n            \"诡秘悬疑\": \"catId=10&subCatId=26\",\n            \"奇妙世界\": \"catId=10&subCatId=35\",\n            \"侦探推理\": \"catId=10&subCatId=57\",\n            \"探险求生\": \"catId=10&subCatId=260\",\n            \"古今传奇\": \"catId=10&subCatId=20095\"\n        },\n        \"🎆诸天无限🎆\": {\n            \"🎆诸天无限🎆\": \"catId=20109\",\n            \"无限\": \"catId=20109&subCatId=20110\",\n            \"诸天\": \"catId=20109&subCatId=20111\",\n            \"综漫\": \"catId=20109&subCatId=20112\"\n        },\n        \"🎆轻小说🎆\": {\n            \"🎆轻小说🎆\": \"catId=12\",\n            \"原生幻想\": \"catId=12&subCatId=60\",\n            \"现代幻想\": \"catId=12&subCatId=10\",\n            \"衍生同人\": \"catId=12&subCatId=281\",\n            \"搞笑吐槽\": \"catId=12&subCatId=282\",\n            \"恋爱日常\": \"catId=12&subCatId=66\"\n        },\n        \"🎆短篇🎆\": {\n            \"🎆短篇🎆\": \"catId=20076\",\n            \"诗歌散文\": \"catId=20076&subCatId=20097\",\n            \"人物传记\": \"catId=20076&subCatId=20098\",\n            \"影视剧本\": \"catId=20076&subCatId=20075\",\n            \"评论文集\": \"catId=20076&subCatId=20077\",\n            \"生活随笔\": \"catId=20076&subCatId=20078\",\n            \"美文游记\": \"catId=20076&subCatId=20079\",\n            \"短篇小说\": \"catId=20076&subCatId=20096\"\n        }\n    };\n\n\n    var sort = Get(\"sort\"); \/\/ 例如 \"🎆玄幻🎆\"\n    var size = Get(\"size\");\n    var isfinish = Get(\"isfinish\");\n    var orderBy = Get(\"orderBy\");\n\n    infoMap.save();\n\n    \/\/ 遍历选定分类下的所有子分类\n    Object.keys(type_dic[sort]).forEach(title => {\n        const queryParams = type_dic[sort][title]; \/\/ 获取查询参数字符串\n        const url = `majax\/category\/list?${queryParams}&size=${size_dic[size]}&isfinish=${isfinish_dic[isfinish]}&gender=male&orderBy=${orderBy_dic[orderBy]}&pageNum={{page}}&_csrfToken={{cookie.getKey(\"https:\/\/qidian.com\",\"_csrfToken\")}}`;\n        var sizeFactor;\n        if (queryParams.includes('subCatId')) {\n            sizeFactor = 0.25;\n        } else {\n            sizeFactor = 1;\n        }\n        push(title, url, sizeFactor);\n    });\n    JSON.stringify(result);\n\n} catch (e) {\n    java.log(e.message);\n    java.longToast(\"本书源只支持最新版洛雅橙改版阅读Σ\\n请安装后重新导入书源\");\n\n    result = `下载阅读Σ::{\\{java.longToast(\"本书源只支持最新版洛娅橙改版阅读Σ\\\\n请安装后重新导入书源\");java.startBrowser(\"https:\/\/loyc.xyz\/c\/legado.html#download\",\"下载阅读Σ最新测试版\");}}`;\n}",
    "header": "{\"User-Agent\":\"Mozilla\/5.0 (Linux; U; Android 13; zh-Hans-CN; PFJM10 Build\/TP1A.220905.001) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/135.0.4896.58 Quark\/6.13.6.581 Mobile Safari\/537.36\",\"Accept-Language\":\"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7\"}",
    "jsLib": "\/\/初始化源变量\nfunction csh() {\n    const {\n        java,\n        source\n    } = this;\n    var original = {\n        \"orderBy\": \"人气\",\n        \"isfinish\": \"连载\",\n        \"size\": \"全部\",\n        \"sort\": \"🎆玄幻🎆\"\n    };\n    var csh_1;\n    \/\/设置默认的源变量\n    try {\n\n        csh_1 = JSON.parse(source.getVariable());\n        if (csh_1 == null) {\n            error;\n        } else {\n            '';\n        };\n    } catch (e) {\n        csh_1 = original;\n        source.setVariable(JSON.stringify(csh_1, null, 2));\n        java.toast(\"初始化成功\")\n    }\n\n}\n\n\n\n\/\/获取源变量的值\nfunction Get(e) {\n    const {\n        java,\n        source,\n        cookie\n    } = this;\n    var get = JSON.parse(source.getVariable());\n    return get[e];\n}\n\n\/\/按钮切换时改变源变量并刷新发现\nfunction show(m, t) {\n    const {\n        java,\n        source\n    } = this;\n    \/\/源变量为空时刷新发现,重置源变量\n    source.getVariable()==''?java.refreshExplore():'';\/\/\n    var data = JSON.parse(source.getVariable());\n    \/\/java.log(data);\n    data[t] = m;\n    \/\/java.log(JSON.stringify(data));\n    source.setVariable(JSON.stringify(data, null, 2));\n    java.refreshExplore();\n}\n\n\/**\n * 创建筛选器配置\n * @param {string} title - 筛选器标题\n * @param {string[]} chars - 选项列表\n * @param {string} defaultVal - 默认值\n * @param {string} paramKey - URL参数名\n * @param {number} size - 布局占比(0-1之间,如0.33表示33%)\n * @returns {Object} 筛选器配置对象\n *\/\nfunction createFilter(title, chars, defaultVal, paramKey, size) {\n    return {\n        title: title,\n        type: \"select\",\n        chars: chars,\n        default: defaultVal,\n        action: `show(infoMap['${title}'],'${paramKey}')`,\n        style: {\n            layout_flexGrow: 1,\n            layout_flexBasisPercent: size\n        }\n    };\n}\n\n",
    "lastUpdateTime": "1770798400491",
    "respondTime": 4814,
    "ruleBookInfo": {
        "author": ".detail__header-detail__author@a@textNodes",
        "coverUrl": "[property$=image]@content",
        "intro": "\n \n📖 书名:{{@@[property=\"og:title\"]@content}}\n👤 作者:{{@@[property=\"og:novel:author\"]@content}}\n📜 状态:{{@@[property=\"og:novel:status\"]@content}}\n✏  分类:{{@@[class=\"detail__header-detail__line\"].0@text}}\n🔖 标签:{{@@.tags-wrapper@.tag@text##\\n##\\#}}\n🕰 最新:{{@@[property=\"og:novel:latest_chapter_name\"]@content}}\n🗿 更新时间:{{@@[property=\"og:novel:update_time\"]@content}}\n👁 榜单信息:{{@@[class=\"novelbook__honorinfo\"]@text##(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s*##\n$2:$1\n$4:$3\n$6:$5}}\n🏷 简介:{{@@[class=\"detail__summary__content\"]@html}}\n",
        "kind": "[property~=category|status|update_time]@content##\\s.*",
        "lastChapter": "[property$=chapter_name]@content",
        "name": "\n\n.detail__header-detail__title@text",
        "tocUrl": "{{baseUrl}}\/catalog\/",
        "wordCount": ".detail__header-detail__line@text##.*\\\/.*|\\|.*|\\n"
    },
    "ruleContent": {
        "content": ".content@p@html",
        "imageStyle": "FULL"
    },
    "ruleExplore": {
        "author": "$.bAuth",
        "bookList": "$.data.records",
        "bookUrl": "https:\/\/m.qidian.com\/book\/{{$.bid}}",
        "coverUrl": "https:\/\/bookcover.yuewen.com\/qdbimg\/349573\/{{$.bid}}",
        "intro": "$.desc",
        "kind": "$.cat&&$.state\n",
        "name": "$.bName",
        "wordCount": "$.cnt\n@js:\njava.put(\"count\",result);"
    },
    "ruleSearch": {
        "author": "p.-4@text",
        "bookList": ".y-list__item",
        "bookUrl": "{{@@a.0@href##chapter##book}}##\\\/0\\\/\n",
        "coverUrl": "img@data-src",
        "intro": "h2+p@html",
        "kind": "p[-3:]@text",
        "name": "h2@text"
    },
    "ruleToc": {
        "chapterList": ".y-list__item@a,._chapterBar_fps9g_592",
        "chapterName": "h2@text||text",
        "chapterUrl": "href",
        "isVip": "span@text\n@js:\nresult=result==\"免费\"?false:true;\nresult;",
        "isVolume": "textNodes\n@js:\nresult=result?true:false;\nresult;",
        "preUpdateJs": "java.refreshTocUrl()",
        "updateTime": "alt\n@js:\nresult=(result.match(\/首发时间: (.*)章节字数\/) || [\"\",\"\"])[1];\nresult;"
    },
    "searchUrl": "\/so\/{{key}}.html?pageNum={{page}}",
    "weight": 0
}
广告