refactor: covid typo (#4383)
This commit is contained in:
parent
e252da9196
commit
cbf30bfa6a
|
|
@ -158,9 +158,9 @@ Type
|
|||
|
||||
</RouteEn>
|
||||
|
||||
## Wuhan coronavirus
|
||||
## Corona Virus Disease 2019
|
||||
|
||||
### South China Morning Post - China coronavirus outbreak
|
||||
### South China Morning Post - Coronavirus outbreak
|
||||
|
||||
<RouteEn author="DIYgod" example="/coronavirus/scmp" path="/coronavirus/scmp"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -477,13 +477,13 @@ type 为 all 时,category 参数不支持 cost 和 free
|
|||
|
||||
<Route author="kt286" example="/tprtc/news" path="/tprtc/news"/>
|
||||
|
||||
## 武汉肺炎疫情新闻动态
|
||||
## 新冠肺炎疫情新闻动态
|
||||
|
||||
### 国家卫健委 - 疫情通报
|
||||
|
||||
<Route author="Cielpy DIYgod" example="/coronavirus/nhc" path="/coronavirus/nhc"/>
|
||||
|
||||
### 财新网 - 武汉肺炎防疫全纪录
|
||||
### 财新网 - 新冠肺炎防疫全纪录
|
||||
|
||||
<Route author="DIYgod" example="/coronavirus/caixin" path="/coronavirus/caixin"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ module.exports = async (ctx) => {
|
|||
const list = $('li.photo');
|
||||
|
||||
ctx.state.data = {
|
||||
title: '武汉肺炎防疫全纪录-财新网',
|
||||
title: '新冠肺炎防疫全纪录-财新网',
|
||||
description: $('.lead').html(),
|
||||
link: 'http://m.app.caixin.com/m_topic_detail/1473.html',
|
||||
item:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ const cheerio = require('cheerio');
|
|||
module.exports = async (ctx) => {
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: 'https://www.scmp.com/topics/china-coronavirus-outbreak',
|
||||
url: 'https://www.scmp.com/topics/coronavirus-outbreak',
|
||||
});
|
||||
|
||||
const data = response.data;
|
||||
|
|
@ -15,7 +15,7 @@ module.exports = async (ctx) => {
|
|||
ctx.state.data = {
|
||||
title: 'China coronavirus outbreak - SCMP',
|
||||
description: $('.topic__desc--p').html(),
|
||||
link: 'https://www.scmp.com/topics/china-coronavirus-outbreak',
|
||||
link: 'https://www.scmp.com/topics/coronavirus-outbreak',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ const got = require('@/utils/got');
|
|||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const dataUrl = 'https://www.moh.gov.sg/2019-ncov-wuhan/past-updates';
|
||||
const dataUrl = 'https://www.moh.gov.sg/covid-19/past-updates';
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: dataUrl,
|
||||
|
|
@ -32,9 +32,9 @@ module.exports = async (ctx) => {
|
|||
.get();
|
||||
|
||||
ctx.state.data = {
|
||||
title: 'Past Updates On 2019-NCOV Local Situation',
|
||||
title: 'Past Updates On COVID-19 Local Situation',
|
||||
link: dataUrl,
|
||||
description: 'Past Updates On 2019-NCOV Local Situation',
|
||||
description: 'Past Updates On COVID-19 Local Situation',
|
||||
item: items,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue