可乐小说

https://www.kelexs.com

dev-xx (13787)4天前

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceGroup": "",
    "bookSourceName": "可乐小说",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.kelexs.com",
    "customOrder": 215,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "exploreUrl": "[{\"title\":\"全部🏷分类\",\"url\":\"\/list-0-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},{\"title\":\"全部\",\"url\":\"\/list-0-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 男生 \",\"url\":\"\/list-1-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 玄幻小说 \",\"url\":\"\/list-4-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 奇幻小说 \",\"url\":\"\/list-5-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 武侠小说 \",\"url\":\"\/list-6-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 仙侠小说 \",\"url\":\"\/list-7-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 都市小说 \",\"url\":\"\/list-8-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 军事小说 \",\"url\":\"\/list-9-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 历史小说 \",\"url\":\"\/list-10-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 游戏小说 \",\"url\":\"\/list-11-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 体育小说 \",\"url\":\"\/list-12-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 科幻小说 \",\"url\":\"\/list-13-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 诸天无限 \",\"url\":\"\/list-14-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 悬疑小说 \",\"url\":\"\/list-15-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 女生 \",\"url\":\"\/list-2-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 古代言情 \",\"url\":\"\/list-16-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 仙侠奇缘 \",\"url\":\"\/list-17-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 现代言情 \",\"url\":\"\/list-18-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 浪漫青春 \",\"url\":\"\/list-19-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 玄幻言情 \",\"url\":\"\/list-20-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 悬疑推理 \",\"url\":\"\/list-21-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 科幻空间 \",\"url\":\"\/list-22-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 游戏竞技 \",\"url\":\"\/list-23-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 短篇言情 \",\"url\":\"\/list-24-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 轻小说 \",\"url\":\"\/list-42-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 二次元 \",\"url\":\"\/list-3-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 原生幻想 \",\"url\":\"\/list-25-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 恋爱日常 \",\"url\":\"\/list-26-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 衍生同人 \",\"url\":\"\/list-27-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\" 搞笑吐槽 \",\"url\":\"\/list-28-{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}]",
    "header": "@js:\nd = new Date();\nt = d.getFullYear().toString().slice(2) +\nString(d.getMonth() + 1).padStart(2, '0') +\nString(d.getDate()).padStart(2, '0');\n\noption = {\n  \"upgrade-insecure-requests\": \"1\",\n  \"user-agent\": \"Mozilla\/5.0 (Linux; Android 15; 23113RKC6C Build\/AQ3A.240912.001; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/131.0.6778.260 Mobile Safari\/537.36\",\n  \"accept\": \"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7\",\n  \"x-requested-with\": \"cn.mujiankeji.mbrowser\",\n  \"accept-language\": \"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7\",\n  \"Cookie\": \"k=\"+t+\";hasVisited178a=1\"\n}\n\nJSON.stringify(option)",
    "jsLib": "function encrypt(bytes) {\n    var a = \"lzxHpH8PLGXcrCIQ\",\n\n    key = a.padEnd(32, \"\\0\"),\n    iv = a.padEnd(16, \"\\0\"),\n\n    b = this.java.createSymmetricCrypto(\n            \"aes\/cbc\/pkcs7padding\",\n            key,\n            iv\n        )\n        .encryptBase64(bytes)\n\n    return encodeURIComponent(b)\n}\n\nfunction encrypt1(bytes) {\n    var key = this.java.strToBytes(\"gnVo8hMV8IiPQj6Jc2wYrN75AxwJavOR\"),\n    iv = this.java.strToBytes(\"2361651810820884\"),\n\n    b = this.java.createSymmetricCrypto(\n            \"aes\/cbc\/pkcs7padding\",\n            key,\n            iv\n        )\n        .encryptBase64(bytes)\n\n    return encodeURIComponent(b)\n}",
    "lastUpdateTime": "1780126231680",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "[property=\"og:novel:author\"]@content",
        "coverUrl": "[property=\"og:image\"]@content",
        "intro": "[property=\"og:description\"]@content",
        "kind": "[property~=category|status|update_time]@content",
        "lastChapter": "[property~=las?test_chapter_name]@content",
        "name": "[property=\"og:novel:book_name\"]@content",
        "tocUrl": "@js:\nvar id = baseUrl.match(\/book\\\/([^\\.]+)\/)[1];\njava.put('id', id);\nvar url = source.key + '\/chapter\/' + id + '.html';\nvar html = java.ajax(url);\njava.setContent(html);\nvar pages = java.getElements('.dropDown li');\nvar pageCount = pages.length > 0 ? pages.length : 1;\njava.put('page', pageCount);\nvar body = JSON.stringify({ id: id, page: 1 });\nresult = source.key + '\/index.php?action=loadChapterPage' + ',' + JSON.stringify({ body: 'data=' + encrypt1(body), method: 'POST' });",
        "wordCount": ".t_c.2@text##字数:"
    },
    "ruleContent": {
        "content": "<js>\nfunction replace (content) {\n  const source = \"\"\n  const replacementChars = source.split(\"\")\n  replacementChars[43]=\"AV\"\n  content = content.replace(\/<i class=\"icon icon-uni(.{4})\"><\\\/i>\/g, (_, p1) => String.fromCharCode(parseInt(p1, 16)));\n\n  return Array.from(content, char => {\n    const code = char.charCodeAt(0)\n    if (code >= 0xE001 && code <= 0xE101) {\n      return replacementChars[code - 0xE001]\n    } else {\n      return char\n    }\n  }).join('')\n}\nreplace(result)\n<\/js>\n.content@html",
        "nextContentUrl": "text.下一@href",
        "replaceRegex": "##.*{{source.key}}.*|\\n+.*章节错误,点此举报.*\\n+|\\(https?.*\\\/book\\\/.*\\)|.*首发域名.*|.*专业的小说网站可乐小说.*|.*提供最舒适的阅读体验.*|.*kelexs\\.com.*"
    },
    "ruleExplore": {
        "author": "",
        "bookList": "",
        "bookUrl": "",
        "coverUrl": "",
        "intro": "",
        "kind": "",
        "lastChapter": "",
        "name": "",
        "wordCount": ""
    },
    "ruleSearch": {
        "author": "a.2@text",
        "bookList": ".list@ul@li",
        "bookUrl": "@js:\ntry {\n  var a = java.getString('.pic@html');\n  var b = String(a).match(\/upclick\\('(.*?)'\/)[1];\n  var url = source.key + '\/book\/' + b + '.html';\n  url;\n} catch(e) {\n  var a = java.getString('.pic@a@href');\n  a;\n}",
        "checkKeyWord": "",
        "coverUrl": "img@src",
        "intro": ".intro@text",
        "kind": "a.3@text",
        "lastChapter": "a.4@text",
        "name": "a.1@text"
    },
    "ruleToc": {
        "chapterList": "$.data[*]",
        "chapterName": "$.chaptername",
        "chapterUrl": "$.chapterurl",
        "nextTocUrl": "@js:\nresult = [];\nvar id = java.get('id');\nvar pages = java.get('page');\nfor (var i = 2; i <= pages; i++) {\n  var body = JSON.stringify({ id: id, page: i });\n  var option = source.key + '\/index.php?action=loadChapterPage' + ',' + JSON.stringify({ body: 'data=' + encrypt1(body), method: 'POST' });\n  result.push(option);\n}\nresult;"
    },
    "searchUrl": "@js:\nvar url = java.ajax(source.key).match(\/window\\.location\\.href='([^']+)\/)[1];\ncookie.removeCookie(source.key);\ncookie.removeCookie(url);\nvar kku = url.replace(\/m\\\/.*html$\/, 'm');\nvar cs = java.get(url, {});\nvar cc = cs.headers().get('set-cookie');\ncookie.setCookie(source.key, cc);\nvar ckk = String(cs.body());\nif (ckk.match(\/Checking your browser before accessing\/)) {\n  java.webView(null, url, 'document.cookie');\n  var cok = cookie.getCookie(url);\n  var head = JSON.stringify({ headers: { Cookie: cok } });\n  var u = url + ',' + head;\n  java.ajax(u);\n}\nresult = kku + '\/k-' + encrypt(key) + '-' + page + '.html';\nresult;",
    "weight": 0
}
广告