diff --git a/build/maintainers.json b/build/maintainers.json index b3d4f8827d..1fcf326c2d 100644 --- a/build/maintainers.json +++ b/build/maintainers.json @@ -10132,10 +10132,6 @@ "DHPO", "pseudoyu" ], - "/zhihu/posts/:usertype/:id": [ - "whtsky", - "Colin-XKL" - ], "/zhihu/weekly": [ "LogicJake" ], @@ -10158,6 +10154,10 @@ "/zhihu/daily/section/:sectionId": [ "ccbikai" ], + "/zhihu/posts/:usertype/:id": [ + "whtsky", + "Colin-XKL" + ], "/zhihu/question/:questionId/:sortBy?": [], "/zhihu/timeline": [ "SeanChao" diff --git a/build/radar-rules.js b/build/radar-rules.js index a676e2880f..9195ee0ce8 100644 --- a/build/radar-rules.js +++ b/build/radar-rules.js @@ -23480,11 +23480,6 @@ docs:"https://docs.rsshub.app/routes/social-media", source:[ "/collection/:id" ], target:"/zhihu/collection/:id" }, - { title:"用户文章", - docs:"https://docs.rsshub.app/routes/social-media", - source:[ "/:usertype/:id/posts", - "/:usertype/:id" ], - target:"/zhihu/posts/:usertype/:id" }, { title:"知乎书店 - 知乎周刊", docs:"https://docs.rsshub.app/routes/social-media", source:[ "/pub/weekly" ], @@ -23501,6 +23496,11 @@ docs:"https://docs.rsshub.app/routes/social-media", source:[ "/people/:id/answers" ], target:"/zhihu/people/answers/:id" }, + { title:"用户文章", + docs:"https://docs.rsshub.app/routes/social-media", + source:[ "/:usertype/:id/posts", + "/:usertype/:id" ], + target:"/zhihu/posts/:usertype/:id" }, { title:"问题", docs:"https://docs.rsshub.app/routes/social-media", source:[ "/question/:questionId" ], diff --git a/build/radar-rules.json b/build/radar-rules.json index f9e84606f2..fd3061eed0 100644 --- a/build/radar-rules.json +++ b/build/radar-rules.json @@ -51015,15 +51015,6 @@ ], "target": "/zhihu/collection/:id" }, - { - "title": "用户文章", - "docs": "https://docs.rsshub.app/routes/social-media", - "source": [ - "/:usertype/:id/posts", - "/:usertype/:id" - ], - "target": "/zhihu/posts/:usertype/:id" - }, { "title": "知乎书店 - 知乎周刊", "docs": "https://docs.rsshub.app/routes/social-media", @@ -51056,6 +51047,15 @@ ], "target": "/zhihu/people/answers/:id" }, + { + "title": "用户文章", + "docs": "https://docs.rsshub.app/routes/social-media", + "source": [ + "/:usertype/:id/posts", + "/:usertype/:id" + ], + "target": "/zhihu/posts/:usertype/:id" + }, { "title": "问题", "docs": "https://docs.rsshub.app/routes/social-media", diff --git a/build/routes.js b/build/routes.js index 6da4e6003d..28ebd36c77 100644 --- a/build/routes.js +++ b/build/routes.js @@ -141732,47 +141732,6 @@ export default { "location": "daily.ts", "module": () => import('@/routes/zhihu/daily.ts') }, - "/posts/:usertype/:id": { - "path": "/posts/:usertype/:id", - "categories": [ - "social-media" - ], - "example": "/zhihu/posts/people/frederchen", - "parameters": { - "usertype": "作者 id,可在用户主页 URL 中找到", - "id": "用户类型usertype,参考用户主页的URL。目前有两种,见下表" - }, - "features": { - "requireConfig": [ - { - "name": "ZHIHU_COOKIES", - "description": "", - "optional": true - } - ], - "requirePuppeteer": false, - "antiCrawler": true, - "supportBT": false, - "supportPodcast": false, - "supportScihub": false - }, - "radar": [ - { - "source": [ - "www.zhihu.com/:usertype/:id/posts", - "www.zhihu.com/:usertype/:id" - ] - } - ], - "name": "用户文章", - "maintainers": [ - "whtsky", - "Colin-XKL" - ], - "description": "| 普通用户 | 机构用户 |\n| -------- | -------- |\n| people | org |", - "location": "posts.ts", - "module": () => import('@/routes/zhihu/posts.ts') - }, "/weekly": { "path": "/weekly", "categories": [ @@ -142017,6 +141976,47 @@ export default { "location": "daily-section.ts", "module": () => import('@/routes/zhihu/daily-section.ts') }, + "/posts/:usertype/:id": { + "path": "/posts/:usertype/:id", + "categories": [ + "social-media" + ], + "example": "/zhihu/posts/people/frederchen", + "parameters": { + "usertype": "作者 id,可在用户主页 URL 中找到", + "id": "用户类型usertype,参考用户主页的URL。目前有两种,见下表" + }, + "features": { + "requireConfig": [ + { + "name": "ZHIHU_COOKIES", + "description": "", + "optional": true + } + ], + "requirePuppeteer": false, + "antiCrawler": true, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "www.zhihu.com/:usertype/:id/posts", + "www.zhihu.com/:usertype/:id" + ] + } + ], + "name": "用户文章", + "maintainers": [ + "whtsky", + "Colin-XKL" + ], + "description": "| 普通用户 | 机构用户 |\n| -------- | -------- |\n| people | org |", + "location": "posts.ts", + "module": () => import('@/routes/zhihu/posts.ts') + }, "/question/:questionId/:sortBy?": { "path": "/question/:questionId/:sortBy?", "categories": [ diff --git a/build/routes.json b/build/routes.json index f1bc57f67b..7fa3e71dee 100644 --- a/build/routes.json +++ b/build/routes.json @@ -141732,47 +141732,6 @@ "location": "daily.ts", "module": "() => import('@/routes/zhihu/daily.ts')" }, - "/posts/:usertype/:id": { - "path": "/posts/:usertype/:id", - "categories": [ - "social-media" - ], - "example": "/zhihu/posts/people/frederchen", - "parameters": { - "usertype": "作者 id,可在用户主页 URL 中找到", - "id": "用户类型usertype,参考用户主页的URL。目前有两种,见下表" - }, - "features": { - "requireConfig": [ - { - "name": "ZHIHU_COOKIES", - "description": "", - "optional": true - } - ], - "requirePuppeteer": false, - "antiCrawler": true, - "supportBT": false, - "supportPodcast": false, - "supportScihub": false - }, - "radar": [ - { - "source": [ - "www.zhihu.com/:usertype/:id/posts", - "www.zhihu.com/:usertype/:id" - ] - } - ], - "name": "用户文章", - "maintainers": [ - "whtsky", - "Colin-XKL" - ], - "description": "| 普通用户 | 机构用户 |\n| -------- | -------- |\n| people | org |", - "location": "posts.ts", - "module": "() => import('@/routes/zhihu/posts.ts')" - }, "/weekly": { "path": "/weekly", "categories": [ @@ -142017,6 +141976,47 @@ "location": "daily-section.ts", "module": "() => import('@/routes/zhihu/daily-section.ts')" }, + "/posts/:usertype/:id": { + "path": "/posts/:usertype/:id", + "categories": [ + "social-media" + ], + "example": "/zhihu/posts/people/frederchen", + "parameters": { + "usertype": "作者 id,可在用户主页 URL 中找到", + "id": "用户类型usertype,参考用户主页的URL。目前有两种,见下表" + }, + "features": { + "requireConfig": [ + { + "name": "ZHIHU_COOKIES", + "description": "", + "optional": true + } + ], + "requirePuppeteer": false, + "antiCrawler": true, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "www.zhihu.com/:usertype/:id/posts", + "www.zhihu.com/:usertype/:id" + ] + } + ], + "name": "用户文章", + "maintainers": [ + "whtsky", + "Colin-XKL" + ], + "description": "| 普通用户 | 机构用户 |\n| -------- | -------- |\n| people | org |", + "location": "posts.ts", + "module": "() => import('@/routes/zhihu/posts.ts')" + }, "/question/:questionId/:sortBy?": { "path": "/question/:questionId/:sortBy?", "categories": [