File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
来自中华人民共和国民政部,用于查询中国省,市和区数据的网站。
9
9
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/ )
11
13
- [ 统计用区划和城乡划分代码,更新时间:2020-02-25] ( http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/ )
12
14
13
15
### 数据更新 Diff
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ exports.getProvinceCity = () => {
48
48
return new Promise ( async ( resolve , reject ) => {
49
49
try {
50
50
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' ) ;
52
52
if ( ! res || ! res . text ) return resolve ( [ ] ) ;
53
53
const $ = cheerio . load ( res . text ) ;
54
54
const data = [ ] ;
You can’t perform that action at this time.
0 commit comments