Skip to content

Commit 14cb636

Browse files
committed
Upgrade 2019-03-30 data.
1 parent 81c6502 commit 14cb636

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
来自中华人民共和国民政部,用于查询中国省,市和区数据的网站。
99

10-
- [中华人民共和国行政区划代码,更新时间:2020-03-06](http://www.mca.gov.cn/article/sj/xzqh/2020/)
10+
> ⚠️ 2020-03-30 新增一个街道,街道数据暂未更新。
11+
12+
- [中华人民共和国行政区划代码,更新时间:2020-03-30](http://www.mca.gov.cn/article/sj/xzqh/2020/)
1113
- [统计用区划和城乡划分代码,更新时间:2020-02-25](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)
1214

1315
### 数据更新 Diff

script/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ exports.getProvinceCity = () => {
4848
return new Promise(async (resolve, reject) => {
4949
try {
5050
console.log('=> 获取省市区数据')
51-
const res = await request.get('http://www.mca.gov.cn/article/sj/xzqh/2020/2020/202003061536.html');
51+
const res = await request.get('http://www.mca.gov.cn/article/sj/xzqh/2020/2020/202003301019.html');
5252
if (!res || !res.text) return resolve([]);
5353
const $ = cheerio.load(res.text);
5454
const data = [];

0 commit comments

Comments
 (0)