From bea2551fcf92b7733de04a7d6e5418fcce235790 Mon Sep 17 00:00:00 2001 From: modood Date: Thu, 27 Feb 2020 09:38:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BD=E5=AE=B6=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=B1=80=E6=9C=80=E6=96=B0=E6=95=B0=E6=8D=AE=EF=BC=88=E6=88=AA?= =?UTF-8?q?=E6=AD=A2=E6=97=B6=E9=97=B4=EF=BC=9A2019-10-31=EF=BC=8C?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=97=B6=E9=97=B4=EF=BC=9A2020-02-25?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +--- lib/crawler.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) 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": {