diff --git a/README.md b/README.md index 6094674..4a6764b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ * [中华人民共和国国家统计局-统计用区划和城乡划分代码](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/) * [中华人民共和国国家统计局-统计用区划代码和城乡划分代码编制规则](http://www.stats.gov.cn/tjsj/tjbz/200911/t20091125_8667.html) * 本项目已更新至: - * [2018年统计用区划代码和城乡划分代码(截止时间:2018-10-31,发布时间:2019-01-31)](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2018/index.html) + * [2019年统计用区划代码和城乡划分代码(截止时间:2019-10-31,发布时间:2020-02-25)](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2019/index.html) ## 数据下载 @@ -159,8 +159,6 @@ $ npm test ## Stargazers over time -[![Flag Counter](https://s05.flagcounter.com/count2/uCWd/bg_FFFFFF/txt_000000/border_CCCCCC/columns_8/maxflags_24/viewers_0/labels_1/pageviews_1/flags_0/percent_0/)](https://info.flagcounter.com/uCWd) - [![Stargazers over time](https://starcharts.herokuapp.com/modood/Administrative-divisions-of-China.svg)](https://starcharts.herokuapp.com/modood/Administrative-divisions-of-China) ## Contributing diff --git a/lib/crawler.js b/lib/crawler.js index 8f1ad9b..98f0f96 100644 --- a/lib/crawler.js +++ b/lib/crawler.js @@ -19,7 +19,7 @@ const casReg = /(.*?)<\/a><\/td> const vReg = /(.*?)<\/td>.*?<\/td>(.*?)<\/td><\/tr>/g const host = 'www.stats.gov.cn' -const path = '/tjsj/tjbz/tjyqhdmhcxhfdm/2018/#{route}.html' +const path = '/tjsj/tjbz/tjyqhdmhcxhfdm/2019/#{route}.html' /** * 抓取数据 diff --git a/package.json b/package.json index e319601..03d4b27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "china-division", - "version": "2.2.0", + "version": "2.3.0", "description": "中华人民共和国行政区划:省份、城市、区县、乡镇(街道)、村(居)委会", "main": "lib/export.js", "scripts": {