Skip to content

Commit

Permalink
Add doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx committed Nov 14, 2023
1 parent c79168b commit 528d559
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/v2/cna/maintainer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
'/:id?': ['nczitzk'],
'/web/:id?': ['dzx-dzx'],
};
6 changes: 6 additions & 0 deletions lib/v2/cna/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ module.exports = {
source: ['/list/:id', '/topic/newstopic/:id'],
target: (params) => `/cna/${params.id.replace('.aspx', '')}`,
},
{
title: '分类(网页爬虫方法)',
docs: 'https://docs.rsshub.app/routes/traditional-media#zhong-yang-tong-xun-she',
source: ['/list/:id'],
target: (params) => `/cna/web/${params.id.replace('.aspx', '')}`,
},
],
},
};
4 changes: 4 additions & 0 deletions website/docs/routes/traditional-media.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2813,6 +2813,10 @@ category 对应的关键词有

</Route>

:::tip
`:id`前插入`/web`(即`/cna/web/:id?`)以从网页抓取.
:::

## 组织人事报 {#zu-zhi-ren-shi-bao}

### 电子报 {#zu-zhi-ren-shi-bao-dian-zi-bao}
Expand Down

0 comments on commit 528d559

Please sign in to comment.