小说网 🍅番茄小说源

https://novel.cooks.tw

syiism (13241)9小时前

番茄小说源
二维码导入
{
    "bookSourceName": "小说网\n🍅番茄小说源",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/novel.cooks.tw",
    "customButton": false,
    "customOrder": 0,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "exploreUrl": "@js:\nlet all = [];\nvar url = 'https:\/\/novel.cooks.tw\/api\/novel\/keywords\/map?lang=zh-CN';\nvar res = java.ajax(url);\nres = JSON.parse(res);\nres = res.data;\nres.forEach(x => {\n  all.push({\n    \"title\": x.keyword,\n    \"url\": `\/api\/novel\/keyword\/${x.keyword_id}?page={{page}}&limit=20`,\n    \"style\": {\n      \"layout_flexGrow\": 1,\n      \"layout_flexBasisPercent\": 0.25\n    }\n  });\n});\nresult = JSON.stringify(all);",
    "lastUpdateTime": "1776609585134",
    "respondTime": 180000,
    "ruleBookInfo": {
        "init": "@js:\n(function(result){\n    result = JSON.parse(result);\n    const data = result.data;\n    let articleid = data.articleid;\n    cache.putMemory('articleid', articleid);\n \n    return data;\n})(result);",
        "tocUrl": "https:\/\/novel.cooks.tw\/api\/chapter\/list\/{{result.articleid}}?lang=zh-CN"
    },
    "ruleContent": {
        "content": "$.data.content"
    },
    "ruleExplore": {
        "author": "$.author",
        "bookList": "$.data.data",
        "bookUrl": "https:\/\/novel.cooks.tw\/api\/novel\/detail\/{{$.articleid}}?lang=zh-CN",
        "coverUrl": "@js:\nlet articleid = result.articleid;\n`https:\/\/pic.cooks.tw\/${Math.floor(articleid \/ 1000)}\/${articleid}\/${articleid}s.jpg`;",
        "intro": "$.intro",
        "name": "$.articlename"
    },
    "ruleSearch": {
        "author": "$.author",
        "bookList": "$.data.items",
        "bookUrl": "https:\/\/novel.cooks.tw\/api\/novel\/detail\/{{$.articleid}}?lang=zh-CN",
        "checkKeyWord": "荒野求生,我不想回去了",
        "coverUrl": "@js:\nlet articleid = result.articleid;\n`https:\/\/pic.cooks.tw\/${Math.floor(articleid \/ 1000)}\/${articleid}\/${articleid}s.jpg`;",
        "intro": "$.intro",
        "name": "$.articlename"
    },
    "ruleToc": {
        "chapterList": "$.data",
        "chapterName": "$.chaptername",
        "chapterUrl": "https:\/\/novel.cooks.tw\/api\/chapter\/content\/{{cache.getFromMemory('articleid')}}\/{{$.chapterid}}?lang=zh-CN"
    },
    "searchUrl": "\/api\/novel\/search?q={{key}}&page={{page}}&limit=20&lang=zh-CN",
    "weight": 0
}
广告