Skip to content

Cartographer 是一个可以采集中国行政区划表的小工具

License

Notifications You must be signed in to change notification settings

cheer-cheer/cartographer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cartographer

概述

Cartographer 是一个 Python 爬虫程序,它可以从国家统计局官网上发布的行政区划代码统计标准中采集最新的中国行政区划数据。

前提条件

您的系统中必须安装下列组件:

  • Python 3.x
  • Scrapy 1.3+

运行

直接在当前目录下执行

crawl

这会在 data/ 目录下生成一个 .json 文件,它包含了最新发布的行政区划代码表。

About

Cartographer 是一个可以采集中国行政区划表的小工具

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages