GithubHelp home page GithubHelp logo

xianwewu / pyqt5-baidumapcrawler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soaringsoul/baidu_poi_search

2.0 1.0 0.0 15.75 MB

一个百度地图兴趣点采集工具,可根据关键词搜索指定区域的兴趣点,并导出为excel文件

Python 100.00%

pyqt5-baidumapcrawler's Introduction

百度地图数据采集GUI工具

===========================================

image image PyPI - Python Version

功能和项目文档结构:

1.功能

  • 根据关键词(街道、酒店或其他标志性建筑物等),查询指定区域周边的商户、酒店、交通位置等兴趣点信息

  • 将采集结果以表格形式在界面实时呈现

  • 将采集结果导出为Excel文件

2.项目结构

├── ChinaArea 全国省市数据
│   ├── China_area.py
│   └── init.py
├── Crawler 采集程序
│   ├── BaiduMapCrawler.py
│   └── init.py
├── main.py 主程序
├── Mainwindow Ui界面文件
│   ├── init.py
│   └── Mainwindow.py
├── qtpandas_1.0.4 修正后的qtpandas安装包
├── README.md 项目文档说明
├── requirements.txt 依赖库文件
└── resource 资源文件
   ├── image 界面加载图标以及程序运行截图
   │   ├── run_main.gif
└── QSS
└── Mainwindow.qss 界面美化文件

准备工作

1 安装依赖库

  • python 依赖库参考项目根目录 requirements.txt(可以直接使用pip install requirements.txt安装)

安装依赖库过程中常见问题与解决方法

2 安装最新版本的qtpandas

qtpandas github地址:https://github.com/draperjames/qtpandas

之前写这个小程序时qtapndas有点问题,于是给qtpandas提交了这个问题的issue,

2018年8月,收到qtpandas作者回复,已经修复这个bug. 可以直接在github上搜索qtpandas,然后 pip install .安装,或者python setup.py 注意还是要下载到本地安装,不要直接使用pip install qtpandas 安装。

使用说明

  1. 执行 python run.py,选择省、市,然后输入关键词,例:天津市 便利店

Alt text

  1. 导出抓取结果为excel表格

Alt text

  1. 导出excel文件示例

Alt text

联系我

你可以在这里找到我:夜雨微寒的个人主页

也可以在本界面的主窗口中,点击关于我,访问我的主页,或者给我留言。

Alt text

License

Apache 2.0 License.

pyqt5-baidumapcrawler's People

Contributors

soaringsoul avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.