java 网络爬虫jsoup 抓取全中国 省市县镇村 完整全集信息 代码

java 网络爬虫jsoup 抓取全中国 省市县镇村 完整全集信息 代码


代码下载地址scofield7419/ChinesePCCTVLocationExtraction


ChinesePCCTVLocationExtraction


This’s a cool try, budy.


Description

Complete Chinese location infos in the format of province_city_county_town_village.

Cautions of the methods calling order:

For the first use of this program, you have to run “readAllProv();” method first under the annotated method “getAllMaps();” in order to get all the property files.Then, annotate this method and call method “getAllMaps();”.

just like this:

method calling order

The roadmap is constructed in accordance with the following four guidelines:
here is the properties folder:

properties/北京市.properties

here is the outputs folder:

outputs/province_city_county_town_village.txt

and the output file was writed like this:

output file


other file in assets:

assets/2015年全国城市省市县区行政级别对照表.xls

assets/province_city_county.txt

ps:formats in PCC.

and it look like this:

other file


Scofield.Phil

Email: feish7419@163.com

move fast, break things.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值