dwqs / Area Puppeteer
Licence: wtfpl
基于 puppeteer 的中国行政区域抓取爬虫
Stars: ✭ 144
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Area Puppeteer
Administrative Divisions Of China
中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。
Stars: ✭ 11,727 (+8043.75%)
Mutual labels: china, city, address
administrative-divisions-of-China-on-Python
中华人民共和国行政区划爬虫,分为省级、地级、县级、乡级、村级,最多五级连动,可通过本项目自行爬取数据也可使用本项目在线接口直接调用。
Stars: ✭ 91 (-36.81%)
Mutual labels: address, city
zoning
中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会)
Stars: ✭ 110 (-23.61%)
Mutual labels: china, city
google streetview
A command line tool and module for Google Street View Image API
Stars: ✭ 77 (-46.53%)
Mutual labels: address, city
Highcharts China Geo
Highcharts 中国地图,Highcharts 中国省市地图,Highcharts China Map,南海诸岛geo
Stars: ✭ 29 (-79.86%)
Mutual labels: china, city
Jhaddresspickview
省市区选择器,省市二级选择,省市区三级选择,PickView,地址选择器
Stars: ✭ 12 (-91.67%)
Mutual labels: city, address
Identity Address DB
(China) 1. MySQL 身份证 地区 数据库(包含已被合并的区县,详见README) 2. PHP 验证身份证号是否正确 3. 从身份证号中获取 性别 生日 年龄 出生地 等信息 4.路过留个star
Stars: ✭ 38 (-73.61%)
Mutual labels: address, china
Province City China
🇨🇳最全最新中国【省、市、区县、乡镇街道】json,csv,sql数据
Stars: ✭ 993 (+589.58%)
Mutual labels: china, city
World Cities
Multilingual list of countries, states & cities in XML format. 世界所有城市,国内所有省、市、区、县信息(2020.06)
Stars: ✭ 64 (-55.56%)
Mutual labels: china, city
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (-12.5%)
Mutual labels: address
E200 opensource
This repository hosts the project for open-source hummingbird E203 RISC processor Core.
Stars: ✭ 1,909 (+1225.69%)
Mutual labels: china
Distpicker
⚠️ [Deprecated] No longer maintained. A simple jQuery plugin for picking provinces, cities and districts of China. (中国 / 省市区 / 三级联动 / 地址选择器)
Stars: ✭ 1,608 (+1016.67%)
Mutual labels: china
Squidwarc
Squidwarc is a high fidelity, user scriptable, archival crawler that uses Chrome or Chromium with or without a head
Stars: ✭ 125 (-13.19%)
Mutual labels: puppeteer
Estimo
Evaluates how long the browser will execute your javascript code.
Stars: ✭ 138 (-4.17%)
Mutual labels: puppeteer
Wendigo
A proper monster for front-end automated testing
Stars: ✭ 121 (-15.97%)
Mutual labels: puppeteer
area-puppeteer
基于 puppeteer 的中国行政区域抓取爬虫
数据来源
- 国家统计局:统计用区划代码和城乡划分代码
- 国家民政部:中华人民共和国行政区划代码
数据更新
git clone [email protected]:dwqs/area-puppeteer.git
npm i
npm start // 生成市县区数据
npm run format // 格式化数据
生成的数据包含两份:cities.js
和 areas.js
,前者是市级数据,后者是县区数据
格式化后会生成两份数据:pca.js
和 pcaa.js
,前者仅省市数据,后者包含省市区数据
import Data from 'path/to/pcaa';
Data['86']
// 所有省份:{'110000': '北京市', '120000': '天津市', '130000': '河北省', ...}
Data['130000']
// 对应省份的所有城市:{'130100': '石家庄市', '130200': '唐山市', '130300': '秦皇岛市', ...}
Data['130200']
// 对应市的所有县区:{'130201': '市辖区', '130202': '路南区', '130203': '路北区', ...}
License
This repo is released under the WTFPL – Do What the Fuck You Want to Public License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].