wanzixin / getshp Goto Github PK
View Code? Open in Web Editor NEW利用高德地图web服务API获取坐标串,生成行政区和aoi的shp文件
利用高德地图web服务API获取坐标串,生成行政区和aoi的shp文件
现在高德地图的反爬机制做的特别好,每个cookie只能爬很少几条数据了
Traceback (most recent call last):
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\getPoiShp.py", line 145, in
main()
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\getPoiShp.py", line 141, in main
p.getPoiId()
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\getPoiShp.py", line 53, in getPoiId
info=self.getRawData(url)
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\getPoiShp.py", line 32, in getRawData
'User-Agent': UserAgent(use_cache_server=False).random,
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\fake.py", line 69, in init
self.load()
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\fake.py", line 75, in load
self.data = load_cached(
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\utils.py", line 250, in load_cached
update(path, use_cache_server=use_cache_server, verify_ssl=verify_ssl)
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\utils.py", line 245, in update
write(path, load(use_cache_server=use_cache_server, verify_ssl=verify_ssl))
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\utils.py", line 178, in load
raise exc
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "C:\E\ZJD\数据爬取工具\getshaper\getShp-master\venv\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.