mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
feat(route): Add 加拿大大使馆 and 蒙特利尔领事馆 to 中国驻外使领馆 (#7416)
This commit is contained in:
@@ -435,6 +435,18 @@ pageClass: routes
|
||||
|
||||
### 支持国家列表
|
||||
|
||||
#### 加拿大 `CA`
|
||||
|
||||
- 大使馆: `/embassy/ca`
|
||||
|
||||
- 领事馆城市列表:
|
||||
|
||||
| 城市 | 路由 |
|
||||
| -------- | ---------------------- |
|
||||
| 蒙特利尔 | `/embassy/ca/montreal` |
|
||||
|
||||
* * *
|
||||
|
||||
#### 德国 `DE`
|
||||
|
||||
- 大使馆: `/embassy/de`
|
||||
|
||||
@@ -1,4 +1,23 @@
|
||||
module.exports = {
|
||||
ca: {
|
||||
country: 'ca',
|
||||
countryCN: '加拿大',
|
||||
link: 'http://ca.china-embassy.org/chn/zytz/',
|
||||
list: 'div[class=nav_title_list] > ul a',
|
||||
title: '#News_Body_Title',
|
||||
description: '#News_Body_Txt_A',
|
||||
pubDate: '#News_Body_Time',
|
||||
consulates: {
|
||||
montreal: {
|
||||
cityCN: '蒙特利尔',
|
||||
link: 'http://montreal.chineseconsulate.org/chn/zytz/',
|
||||
list: '#docMore > tbody > tr > td:nth-child(3) > div[class=Text_Center] > ul a',
|
||||
title: '#News_Body_Title',
|
||||
description: '#News_Body_Txt_A',
|
||||
pubDate: '#News_Body_Time',
|
||||
},
|
||||
},
|
||||
},
|
||||
de: {
|
||||
country: 'de',
|
||||
countryCN: '德国',
|
||||
|
||||
Reference in New Issue
Block a user