diff --git a/build/radar-rules.js b/build/radar-rules.js index 6b1488de93..a676e2880f 100644 --- a/build/radar-rules.js +++ b/build/radar-rules.js @@ -9885,7 +9885,7 @@ "jihs.go.jp":{ _name:"JapanGov", "id-info":[ { title:"感染症発生動向調査週報", docs:"https://docs.rsshub.app/routes/government", - source:[ "/surveillance/idwr/jp/idwr/:year" ], + source:[ "/surveillance/idwr/idwr/:year" ], target:"/goparams=>{const year=params.year;return`/go/jihs/idwr${year?`/${year}`:\"\"}`}" } ] }, "mhlw.go.jp":{ _name:"JapanGov", www:[ { title:"PDF", diff --git a/build/radar-rules.json b/build/radar-rules.json index bdb055d514..f9e84606f2 100644 --- a/build/radar-rules.json +++ b/build/radar-rules.json @@ -21550,7 +21550,7 @@ "title": "感染症発生動向調査週報", "docs": "https://docs.rsshub.app/routes/government", "source": [ - "/surveillance/idwr/jp/idwr/:year" + "/surveillance/idwr/idwr/:year" ], "target": "/goparams=>{const year=params.year;return`/go/jihs/idwr${year?`/${year}`:\"\"}`}" } diff --git a/build/routes.js b/build/routes.js index 808d2e80ed..c1f8aaa7a9 100644 --- a/build/routes.js +++ b/build/routes.js @@ -59357,7 +59357,7 @@ export default { "description": "Year, current year by default" } }, - "description": "::: tip\nTo subscribe to [感染症発生動向調査週報](https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/), where the source URL is `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/`, extract the certain parts from this URL to be used as parameters, resulting in the route as [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025).\n:::", + "description": "::: tip\nTo subscribe to [感染症発生動向調査週報](https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/), where the source URL is `https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/`, extract the certain parts from this URL to be used as parameters, resulting in the route as [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025).\n:::", "categories": [ "government" ], @@ -59373,7 +59373,7 @@ export default { "radar": [ { "source": [ - "id-info.jihs.go.jp/surveillance/idwr/jp/idwr/:year" + "id-info.jihs.go.jp/surveillance/idwr/idwr/:year" ] } ], @@ -59391,7 +59391,7 @@ export default { "description": "年份,默认为当前年份,可在对应页 URL 中找到" } }, - "description": "::: tip\n若订阅 [传染病发生动向调查周报](https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/),网址为 `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/`,请截取 `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/` 到末尾 `/` 的部分 `2025` 作为 `year` 参数填入,此时目标路由为 [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025)。\n:::" + "description": "::: tip\n若订阅 [传染病发生动向调查周报](https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/),网址为 `https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/`,请截取 `https://id-info.jihs.go.jp/surveillance/idwr/idwr/` 到末尾 `/` 的部分 `2025` 作为 `year` 参数填入,此时目标路由为 [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025)。\n:::" }, "location": "jihs/idwr.ts", "module": () => import('@/routes/go/jihs/idwr.ts') diff --git a/build/routes.json b/build/routes.json index 68467ffb41..4376945c91 100644 --- a/build/routes.json +++ b/build/routes.json @@ -59357,7 +59357,7 @@ "description": "Year, current year by default" } }, - "description": "::: tip\nTo subscribe to [感染症発生動向調査週報](https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/), where the source URL is `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/`, extract the certain parts from this URL to be used as parameters, resulting in the route as [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025).\n:::", + "description": "::: tip\nTo subscribe to [感染症発生動向調査週報](https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/), where the source URL is `https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/`, extract the certain parts from this URL to be used as parameters, resulting in the route as [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025).\n:::", "categories": [ "government" ], @@ -59373,7 +59373,7 @@ "radar": [ { "source": [ - "id-info.jihs.go.jp/surveillance/idwr/jp/idwr/:year" + "id-info.jihs.go.jp/surveillance/idwr/idwr/:year" ] } ], @@ -59391,7 +59391,7 @@ "description": "年份,默认为当前年份,可在对应页 URL 中找到" } }, - "description": "::: tip\n若订阅 [传染病发生动向调查周报](https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/),网址为 `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/2025/`,请截取 `https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/` 到末尾 `/` 的部分 `2025` 作为 `year` 参数填入,此时目标路由为 [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025)。\n:::" + "description": "::: tip\n若订阅 [传染病发生动向调查周报](https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/),网址为 `https://id-info.jihs.go.jp/surveillance/idwr/idwr/2025/`,请截取 `https://id-info.jihs.go.jp/surveillance/idwr/idwr/` 到末尾 `/` 的部分 `2025` 作为 `year` 参数填入,此时目标路由为 [`/go/jihs/idwr/2025`](https://rsshub.app/go/jihs/idwr/2025)。\n:::" }, "location": "jihs/idwr.ts", "module": "() => import('@/routes/go/jihs/idwr.ts')"