Giter VIP home page Giter VIP logo

covid19's Introduction

COVID19

本项目使用 Scrapy 爬虫框架,实现爬取网易实时播报平台数据的新冠肺炎疫情数据。

数据分为三个板块:

  • 世界疫情数据:

    主要数据有:国家名,总计确诊,总计疑似,总计治愈,总计死亡,总计重症,总计境外输入,上次更新时间

  • 国内疫情数据:

    主要数据有:省份名,今日确诊,今日疑似,今日治愈,今日死亡,今日重症,总计确诊,总计疑似,总计治愈,总计死亡,总计重症,总计境外输入,上次更新时间

  • 每日疫情数据:

    主要数据有:日期,当日确诊,当日疑似,当日治愈,当日死亡,当日重症,总计确诊,总计疑似,总计治愈,总计死亡,总计重症,总计境外输入

运行本项目

  1. 安装 Scrapy 爬虫框架。如何安装 Scrapy

  2. clone 项目到本地

    git clone [email protected]:Morty-Xu/COVID19.git

  3. 转至项目主目录,执行以下命令:

    scrapy crawl covid19

  4. 待程序运行完毕,会在项目主目录下生成三个文件(xxx前缀代表爬取时间,精确到小时):

    • xxx-country.csv 对应 世界疫情数据

    • xxx-province.csv 对应 国内疫情数据

    • xxx-dayList.csv 对应 每日疫情数据

covid19's People

Contributors

morty-xu 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.