壬二酸 发表于 2024-11-3 13:33:24

如何粘贴源

本帖最后由 壬二酸 于 2024-11-3 14:09 编辑

{
"bookSourceComment": "//2024.9.25◎GEd520◎",
"bookSourceGroup": "直连",
"bookSourceName": "二小说🥉",
"bookSourceType": 0,
"bookSourceUrl": "http://www.2xiaoshuo.com/",
"customOrder": -93023,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": false,
"exploreUrl": " [{\"title\":\"全部分类\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻\",\"url\":\"/sort/1/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"武侠\",\"url\":\"/sort/2/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"都市\",\"url\":\"/sort/3/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"历史\",\"url\":\"/sort/4/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"科幻\",\"url\":\"/sort/5/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"游戏\",\"url\":\"/sort/6/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"女生\",\"url\":\"/sort/7/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n                            {\"title\":\"其他\",\"url\":\"/sort/8/{{page}}/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n]",
"lastUpdateTime": 1729064987149,
"respondTime": 3604,
"ruleBookInfo": {
    "author": "i@a.0@text",
    "coverUrl": "img@src",
    "intro": ".intro@text",
    "kind": "span.1@text",
    "lastChapter": ".flex.0@text",
    "name": "h1@text",
    "tocUrl": "id.a_catalog@href",
    "wordCount": "span.2:3@text"
},
"ruleContent": {
    "content": "#article@html",
    "nextContentUrl": "text.下一页@href"
},
"ruleExplore": {},
"ruleSearch": {
    "author": "p.0@text##\\d+.*",
    "bookList": "ul@li",
    "bookUrl": "a@href",
    "checkKeyWord": "我的",
    "coverUrl": "img@src",
    "intro": "p.1@text",
    "kind": "a.0@text",
    "lastChapter": "a.2@text",
    "name": "a.1@text",
    "wordCount": ".s_gray@text"
},
"ruleToc": {
    "chapterList": "id.catalog@li",
    "chapterName": "a@text",
    "chapterUrl": "a@href"
},
"searchUrl": "{{cookie.removeCookie(source.getKey())}}\n/search/,{\n \"body\": \"searchkey={{key}}&searchtype=all&Submit=\",\n \"method\": \"POST\"\n}\n",
"weight": 0
}遇到这种东西,我们首先复制,然后打开阅读软件,点击下方人头,然后点击书源管理,点击右上方3点新建书源,再点击右上方3点粘贴源,最后点保存就好了

悠久无雨 发表于 2024-11-3 14:11:23

本帖最后由 悠久无雨 于 2024-11-3 14:26 编辑

我觉得你还可以教个订阅源的。就拿论坛做示范我看也有不少人问的

鹅不食草 发表于 2024-11-3 14:15:26

这个我还真不会,平时都是导入{:5_228:}

糖豆er 发表于 2024-11-3 14:37:36

本帖最后由 糖豆er 于 2024-11-3 14:41 编辑

提示源名称和URL不能空,是什么意思

壬二酸 发表于 2024-11-3 14:45:18

糖豆er 发表于 2024-11-3 14:37
提示源名称和URL不能空,是什么意思

粘贴要全

壬二酸 发表于 2024-11-3 14:46:55

糖豆er 发表于 2024-11-3 14:37
提示源名称和URL不能空,是什么意思

{
"bookSourceComment": "20240624By_遇知完成代码\n20240624By_zhbyjm7783整理",
"bookSourceGroup": "直连",
"bookSourceName": "爱宝贝🥈",
"bookSourceType": 0,
"bookSourceUrl": "https://www.ibabyxs8.com",
"customOrder": -93039,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": false,
"header": "",
"lastUpdateTime": 1729063980319,
"respondTime": 2378,
"ruleBookInfo": {
    "author": "@content",
    "coverUrl": "@content",
    "intro": "@content",
    "kind": "@content&&@content&&@content",
    "lastChapter": "@content",
    "name": "@content",
    "tocUrl": "text.章节目录@href"
},
"ruleContent": {
    "content": "<js>\nif(/netUrl/.test(baseUrl)){\nb = source.getKey();\nurl1 = String(baseUrl).replace(/netUrl\\//,'');\npage = String(java.ajax(url1)).match(/\\(第1\\/(\\d+)页\\)/);\nurl2 = String(url1).replace(/(\\d+).html/,\"$1_\"+page+\".html\");\nurl = b+java.ajax(url2).match(/<a href=\"([^\"]+)\">下一节<\\/a>/);\njava.put('url',url);\nresult=java.ajax(url);\n}\nresult\n</js>.RBGsectionThree-content p@textNodes",
    "nextContentUrl": "@js:\ntry{\n\tif(/netUrl/.test(baseUrl)){\nurl1 = java.get('url');\n page = String(java.ajax(url1)).match(/\\(第1\\/(\\d+)页\\)/);\n // java.log(page)\nlist=[];\nif(page>=2){\nfor(var i=2;i<=page;i++){\nhref = String(url1).replace(/(\\d+).html/,\"$1_\"+i+\".html\");\nlist.push(href);\n}\n}\nlist\n}else{\n\t java.getString(\"a:contains(下一页)@href\")\n\t}\n}catch(e){}",
    "sourceRegex": ""
},
"ruleExplore": {},
"ruleSearch": {
    "author": "a.1@text",
    "bookList": ".CGsectionTwo-right-content-unit",
    "bookUrl": "a.0@href",
    "checkKeyWord": "红颜乱:我的男友是绿茶",
    "intro": "p.-2@text",
    "kind": "p.-1@text",
    "name": "a.0@text"
},
"ruleToc": {
    "chapterList": "<js>\nlist=[];\nbase = source.getKey();\nlis=java.getElements('section .BCsectionTwo-top-chapter a');\nfor(i in lis){\n\turl=lis.attr('href');\n\t/javascript/.test(url)?url='/netUrl'+lis.attr('href'):url;\n\turl=base+url;\n\tlist.push({\"text\":lis.text(),\"href\":url})\n}\nlist\n</js>",
    "chapterName": "text",
    "chapterUrl": "href",
    "isVolume": "",
    "nextTocUrl": "option@value"
},
"searchUrl": "{{cookie.removeCookie(source.getKey())}}/search,{\n \"method\": \"POST\",\n \"body\": \"searchkey={{key}}&code=12345\"\n}",
"weight": 0
}

糖豆er 发表于 2024-11-3 14:59:57

壬二酸 发表于 2024-11-3 14:45
粘贴要全

好的,谢谢我在试试

明晨 发表于 2024-11-3 15:12:19

谢谢

肉松小贝 发表于 2024-11-3 15:48:56

看看

细雨尘寰 发表于 2024-11-3 16:08:14

很棒很有用的教程
页: [1] 2 3
查看完整版本: 如何粘贴源