DQinYuan / chinese_province_city_area_mapper

一个用于提取简体中文字符串中省,市和区并能够进行映射,检验和简单绘图的python模块
MIT License
1.67k stars 396 forks source link

能提供爬取自中华人民共和国民政局全国行政区 爬取省 市 区 等的爬虫吗? #55

Closed hepengfei-ml closed 3 years ago

good18 commented 4 years ago

根本不需要爬取,直接到民政局网站复制就行了

juzj commented 4 years ago

t = ['青岛市李沧区黑龙江中路629-143号网点'] df = addressparser.transform(t, cut=True) print(df) """:arg 省 市 区 地址 0 黑龙江省 青岛市 李沧区 中路629-143号网点 """

juzj commented 4 years ago

这个怎么解决

DQinYuan commented 3 years ago

最新版本已经将数据源改到 https://github.com/Vonng/adcode