JIHS Disease Surveillance (IDWR)#
RSSHub provides a route for the ζζηηΊηεεθͺΏζ»ι±ε ± (Infectious Disease Weekly Report, IDWR), published by Japan's JIHS (Japan Institute for Health Security) at id-info.jihs.go.jp. The route is categorized under the JapanGov namespace , which covers Japanese government (.go.jp) sources.
Route#
| Property | Value |
|---|---|
| RSSHub path | /go/jihs/idwr/:year? |
| Example | /go/jihs/idwr/2025 |
| Source domain | id-info.jihs.go.jp |
| Maintainer | @nczitzk |
| Category | government |
The :year parameter defaults to the current year if omitted . The route supports Radar auto-detection and is available in both Japanese (name: ζζηηΊηεεθͺΏζ»ι±ε ±) and Chinese (name: δΌ ζη
εηε¨εθ°ζ₯ε¨ζ₯) .
Implementation#
The handler lives at lib/routes/go/jihs/idwr.ts β the only file in the lib/routes/go/jihs/ directory. It:
- Constructs a target URL under
https://id-info.jihs.go.jpand fetches the page withofetch - Parses
<a class="sizeview">anchor elements, extracting title, publication date (matchingγYYYYεΉ΄MζDζ₯ηΊθ‘γ), and link URLs - Treats each linked file (typically a PDF) as an enclosure, setting
enclosure_typefrom the file extension
β οΈ Known URL-Structure Issue (Open as of 2026-07-12)#
The 2026 IDWR pages moved to a new URL path, dropping the /jp/ segment:
| URL Pattern | |
|---|---|
| Old (encoded in route) | https://id-info.jihs.go.jp/surveillance/idwr/jp/idwr/{year}/ |
| New (2026+) | https://id-info.jihs.go.jp/surveillance/idwr/idwr/{year}/index.html |
The current code at line 16 still uses the old pattern, causing 404 Not Found errors for 2026 requests. The fix requires updating that line and the Radar source path at line 110. This is tracked in GitHub issue #22684 .
This is a recurrence β an earlier domain migration (NIID β id-info.jihs.go.jp) had already broken the route once (issue #19272) .