👑小米阅读

https://reader.browser.miui.com/v2

ljy911028 (6230)06/11 15:44

小米出品,品质保证。
免费小说之王,小米官方全新打造移动阅读平台,实现全站小说正版永久性免费阅读。
二维码导入
{
    "bookSourceComment": "小米出品,品质保证。\n免费小说之王,小米官方全新打造移动阅读平台,实现全站小说正版永久性免费阅读。",
    "bookSourceGroup": "",
    "bookSourceName": "👑小米阅读",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/reader.browser.miui.com\/v2",
    "bookUrlPattern": "https:\/\/reader.browser.miui.com\/api\/v2\/book\/\\d+",
    "customOrder": 1092,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "exploreUrl": "@js:\nsort=[];\npush=(title,url,type)=>{\n\t\tjson = JSON.stringify({\n\t\t\t\ttitle: title,\n\t\t\t\turl: url?url:\"\",\n\t\t\t\tstyle: {\n\t\t\t\t\t\tlayout_flexGrow: 1,\n\t\t\t\t\t\tlayout_flexBasisPercent: type\n\t\t\t\t\t}\n\t\t\t});\n\t\treturn sort.push(json);\n\t}\npush('༺ˇ»`ʚ排行榜单ɞ´«ˇ༻',null,1);\n$$=(a,b,c)=>{\n\t\treturn `https:\/\/reader.browser.duokan.com\/api\/v2\/ranking?len=10&page={{page}\\}&type=${a}-${b}-${c}`\n\t}\n[[\"人气榜\",\"golden\"],[\"新书榜\",\"new\"],[\"完结榜\",\"end\"],[\"热搜榜\",\"search\"]].map([title,b]=>{\n\t\tpush('༺ '+title+' ༻',null,1);\n\t\t[\"男频\",\"女频\"].map((title1,a)=>{\n\t\t\t\ta++\n\t\t\t\t[[\"周榜\",\"week\"],[\"月榜\",\"month\"],[\"总榜\",\"total\"]].map([title2,c]=>{\n\t\t\t\t\t\treturn push(title1+title2,$$(a,b,c),0.25);\n\t\t\t\t\t});\n\t\t\t});\n\t});\npush('༺ˇ»`ʚ书籍分类ɞ´«ˇ༻',null,1);\n$$=(sex,bookStatus,categoryId,hotChoice)=>{\n\t\treturn `https:\/\/reader.browser.duokan.com\/api\/v2\/book\/list2?len=10&page={{page}\\}&sex=${sex}&bookStatus=${bookStatus}&categoryId=${categoryId}&wordCountsInterval=0&hotChoice=${hotChoice}`\n\t}\nbookStatus=categoryId=hotChoice=0;\n[\n\t\t[\"男频\",[[\"都市\",7],[\"玄幻\",3],[\"仙侠\",6],[\"历史\",8],[\"灵异\",10],[\"科幻\",11],[\"奇幻\",4],[\"同人\",143],[\"游戏\",12],[\"武侠\",5],[\"竞技\",13]]],\n\t\t[\"女频\",[[\"现代言情\",75],[\"古代言情\",74],[\"浪漫青春\",76],[\"玄幻言情\",72],[\"仙侠奇缘\",73],[\"悬疑灵异\",77],[\"科幻空间\",78],[\"同人小说\",80],[\"游戏竞技\",79],[\"耽美小说\",81]]]\n].map(([title,list],sex)=>{\n\t\tsex++\n\t\tpush('༺ˇ»`ʚ'+title+'ɞ´«ˇ༻',$$(sex,bookStatus,categoryId,hotChoice),1);\n\t\tlist.map([title,categoryId]=>{\n\t\t\t\tpush('༺ '+title+' ༻',$$(sex,bookStatus,categoryId,hotChoice),1);\n\t\t\t\t[\"综合全部\",\"最新上线\",\"阅读最多\",\"点赞最高\"].map((title,hotChoice)=>{\n\t\t\t\t\t\t['['+title+']',\"连载\",\"完结\"].map((title,bookStatus)=>{\n\t\t\t\t\t\t\t\treturn push(title,$$(sex,bookStatus,categoryId,hotChoice),0.25);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t});\n\t});\n'['+sort.toString()+']'",
    "header": "{\"User-Agent\": \"Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/62.0.2357.134 Safari\/537.36\"}",
    "lastUpdateTime": 1718091550187,
    "loginUrl": "",
    "respondTime": 41680,
    "ruleBookInfo": {
        "author": "$..author",
        "coverUrl": "$..imgUrl",
        "init": "$.data",
        "intro": "{{'\\n‎\\n'}}🔗 源站:{{$..cpName}}\n{{'\\n‎\\n'}}📆 开坑:{{java.timeFormatUTC(java.getString('$.firstChapter.updateTime')*1000,'yyyy-MM-dd',8)}}\n{{'\\n‎\\n'}}📑 简介:{{$..description}}",
        "kind": "{{$..score}}分\n{{$..secondCategoryName&&$..bookStatus}}\n{{java.put('time', java.timeFormatUTC(java.getString('$.lastChapter.updateTime'),'yyyy-MM-dd',8))}}",
        "lastChapter": "{{$.lastChapter.chapterName}} • @get:{time}",
        "name": "$..name",
        "tocUrl": "https:\/\/reader.browser.miui.com\/api\/v2\/chapter\/list\/{{$..bookId}}",
        "wordCount": "$..wordCount"
    },
    "ruleContent": {
        "content": "$..contentList[*]##——内容来自.*\n<js>\nif(result.match(\/^http.+$\/)){\n\t\tsrc = java.base64Decode(String(java.ajax(result)).match(\/\\('([^']+)'\\)\/)[1]);\n\t}\nsrc\n<\/js>\n$..p[*]||$..contentList[*]\n##——内容来自.*",
        "nextContentUrl": "",
        "sourceRegex": "",
        "webJs": ""
    },
    "ruleExplore": {
        "author": "$.author",
        "bookList": "$.data.list",
        "bookUrl": "https:\/\/reader.browser.miui.com\/api\/v2\/book\/{{$.bookId}}",
        "coverUrl": "$.imgUrl",
        "intro": "$.description",
        "kind": "{{$.score}}分\n{{$.secondCategoryName&&$.bookStatus}}\n{{java.put('time', java.timeFormatUTC(java.getString('$.updateTime')*1000,'yyyy-MM-dd',8))}}",
        "lastChapter": "最近更新:@get:{time}",
        "name": "$.name",
        "wordCount": "$.wordCount"
    },
    "ruleReview": {},
    "ruleSearch": {
        "author": "$.author",
        "bookList": "$.related",
        "bookUrl": "https:\/\/reader.browser.miui.com\/api\/v2\/book\/{{$.id}}",
        "checkKeyWord": "",
        "coverUrl": "$.image",
        "intro": "$.description",
        "kind": "$.tags",
        "lastChapter": "发布源站:{{$.cp}}",
        "name": "$.title",
        "wordCount": "$.status"
    },
    "ruleToc": {
        "chapterList": "@js:\nlet u = baseUrl.replace('list','content')\n\nlet v = [];\nlet list = [];\nJSON.parse(result).data.list.map($=>{\n\n\/\/分卷判定\n\t\tV = $.volumeTitle\n\t\tif(v[v.length-1]!=V&&!\/^\\s*$\/.test(V)){\n\t\t\t\tv.push(V)\n\t\t\t\tlist.push({\n\t\t\t\t\t\tname: '📖['+V+']📖',\n\t\t\t\t\t\tvolume: true\n\t\t\t\t\t})\n\t\t\t}\n\n\t\treturn list.push({\n\t\t\t\tname: $.chapterName,\n\t\t\t\turl: u+'?chapterId='+$.chapterId+'&volumeId=1',\n\t\t\t\tinfo: '更新时间:'+java.timeFormatUTC($.updateTime*1000,'yyyy-MM-dd HH:mm',12)\n\t\t\t});\n\t});\nv.length<2?list.filter($=>!$.volume):list",
        "chapterName": "name",
        "chapterUrl": "url",
        "isVip": "",
        "isVolume": "volume",
        "nextTocUrl": "",
        "updateTime": "info"
    },
    "searchUrl": "https:\/\/reader.browser.miui.com\/api\/v2\/search\/word?query={{key}}&size=100",
    "weight": 0
}
站长推荐
广告