{ "bookSourceName": "my256小说源", "bookSourceType": 0, "bookSourceUrl": "https://my.256tv.xyz", "charset": "UTF-8", "header": { "User-Agent": "Mozilla/5.0 (Android) Legado/3.22.0", "Referer": "https://my.256tv.xyz" }, "interval": 800, "customButton": false, "customOrder": 1, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "eventListener": false, "pageable": true, "pageParam": "page", "pageOffset": 1, "exploreUrl": "@js:\nlet all = [];\nconst apiUrl = 'https://my.256tv.xyz/?fx&page=1';\nconst resStr = java.ajax(apiUrl);\nconst res = JSON.parse(resStr);\nres.data.forEach(item => {\n // 替换固定page=1为分页变量\n let targetUrl = item.url.replace('page=1', 'page={{page}}');\n all.push({\n \"title\": item.title,\n \"url\": targetUrl,\n \"style\": {\n \"layout_flexGrow\": 1,\n \"layout_flexBasisPercent\": 0.25\n }\n });\n});\nresult = JSON.stringify(all);", "lastUpdateTime": 1777130648178, "respondTime": 180000, "ruleExplore": { "bookList": "$.data", "bookUrl": "@js:\n// 拼接正文链接,提取当前分类前缀\nlet catPath = result._baseUrl.split('?')[1].split('&art=list')[0];\nlet novelId = result.ID;\n`https://my.256tv.xyz/?${catPath}&art=nr&id=${novelId}`;", "intro": "", "name": "$.title", "author": "", "coverUrl": "" }, "ruleContent": { "content": "@js:\n// 提取content内html,清除多余换行空格\nlet html = $.data[0].content;\nhtml = html.replace(/\\t/g, '').replace(/\\n+/g, '\\n');\n// 过滤空p、多余br标签,精简排版\nhtml = html.replace(/

\\s*<\\/p>/g, '');\nhtml = html.replace(/()+/g, '
');\nreturn html;" }, "searchUrl": "", "weight": 0 }