housePrice:使用scrapy和pyecharts制作成都房价地图-源码

上传者: 42113794 | 上传时间: 2021-09-10 17:02:52 | 文件大小: 6MB | 文件类型: ZIP
housePrice 使用scrapy,selenium,echarts和pyecharts制作成都房价地图 scrapy爬虫:爬取成都链家的楼盘信息 运行方法:第一种:在terminal下,进入scrapy.cfg所在的根目录,输入"scrapy crawl lianjia"开始爬取。目前我们已经在pipelines.py增加了保存json文件的功能(为了生成json格式,供js代码使用),所以直接用第一种方法即可。 第二种:如果需要将爬取结构生成csv文件,则输入"scrapy crawl lianjia -o lianjia.csv";运行之后会在根目录生成lianjia.csv文件,可用Excel打开查看(如为乱码可自行调整Excel编码为utf-8)。 参考文档: read_csv.py:读取爬虫生成的csv文件 pyecharts地图程序:生成简易的成都楼盘ASP地图 使用方法

文件下载

资源详情

[{"title":"( 59 个子文件 6MB ) housePrice:使用scrapy和pyecharts制作成都房价地图-源码","children":[{"title":"housePrice-master","children":[{"title":"README.md <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"housePrice","children":[{"title":"chromedriver.exe <span style='color:#111;'> 6.13MB </span>","children":null,"spread":false},{"title":"housePrice","children":[{"title":"spiders","children":[{"title":"PriceSpider.py <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"PriceSpider.cpython-36.pyc <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":true},{"title":"items.py <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"pipelines.py <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"middlewares.py <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"settings.py <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"items.cpython-36.pyc <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"region_avg_price.cpython-36.pyc <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"settings.cpython-36.pyc <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"render.html <span style='color:#111;'> 753.00KB </span>","children":null,"spread":false},{"title":"lianjia.csv <span style='color:#111;'> 62.63KB </span>","children":null,"spread":false},{"title":"geoData_crawler.py <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"read_csv.py <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"render_map.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"region_avg_price.cpython-36.pyc <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"read_csv.cpython-36.pyc <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"scrapy.cfg <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"region_avg_price.py <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"echarts_test","children":[{"title":"坐标转换_files","children":[{"title":"echarts-gl.min.js.下载 <span style='color:#111;'> 598.28KB </span>","children":null,"spread":false},{"title":"bmap.min.js.下载 <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"tile(4) <span style='color:#111;'> 34.55KB </span>","children":null,"spread":false},{"title":"spotmkrs.png <span style='color:#111;'> 106.85KB </span>","children":null,"spread":false},{"title":"getscript <span style='color:#111;'> 168.56KB </span>","children":null,"spread":false},{"title":"china.js.下载 <span style='color:#111;'> 61.15KB </span>","children":null,"spread":false},{"title":"tile(9) <span style='color:#111;'> 19.87KB </span>","children":null,"spread":false},{"title":"tile <span style='color:#111;'> 31.73KB </span>","children":null,"spread":false},{"title":"tile(5) <span style='color:#111;'> 29.90KB </span>","children":null,"spread":false},{"title":"getscript(1) <span style='color:#111;'> 168.56KB </span>","children":null,"spread":false},{"title":"api <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"tile(8) <span style='color:#111;'> 35.94KB </span>","children":null,"spread":false},{"title":"tile(11) <span style='color:#111;'> 29.36KB </span>","children":null,"spread":false},{"title":"tile(1) <span style='color:#111;'> 33.86KB </span>","children":null,"spread":false},{"title":"tile(3) <span style='color:#111;'> 33.88KB </span>","children":null,"spread":false},{"title":"copyright_logo.png <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"echarts.js.下载 <span style='color:#111;'> 2.64MB </span>","children":null,"spread":false},{"title":"tile(7) <span style='color:#111;'> 23.84KB </span>","children":null,"spread":false},{"title":"tile(6) <span style='color:#111;'> 23.36KB </span>","children":null,"spread":false},{"title":"tile(2) <span style='color:#111;'> 17.74KB </span>","children":null,"spread":false},{"title":"jquery-3.3.1.js.下载 <span style='color:#111;'> 265.38KB </span>","children":null,"spread":false},{"title":"tile(10) <span style='color:#111;'> 31.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"1.2.html <span style='color:#111;'> 92.68KB </span>","children":null,"spread":false},{"title":"jquery-3.3.1.js <span style='color:#111;'> 265.38KB </span>","children":null,"spread":false},{"title":"bmap.min.js <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"transform.c~ <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"transform.c <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"houseprice.js <span style='color:#111;'> 159.26KB </span>","children":null,"spread":false},{"title":"transform.o <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"lianjia.csv <span style='color:#111;'> 62.63KB </span>","children":null,"spread":false},{"title":"坐标转换.html <span style='color:#111;'> 90.87KB </span>","children":null,"spread":false},{"title":"1.html <span style='color:#111;'> 13.89KB </span>","children":null,"spread":false},{"title":"echarts.js <span style='color:#111;'> 2.64MB </span>","children":null,"spread":false},{"title":"transform.exe <span style='color:#111;'> 23.07KB </span>","children":null,"spread":false},{"title":"icon.png <span style='color:#111;'> 311.43KB </span>","children":null,"spread":false},{"title":"ln_lat.txt <span style='color:#111;'> 18.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明