Skip to content

A simple crawler for the history weather data in the en.tutiempo.net

Notifications You must be signed in to change notification settings

Ethan-Zhang/crawlTutiempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crawlTutiempo

A simple crawler for the history weather data in the en.tutiempo.net using scrapy framework.

Requirements

  • Python 2.7
  • Works on Linux, Windows, Mac OSX, BSD

Installation

pip install scrapy
git clone https://github.com/Ethan-Zhang/crawlTutiempo.git

Quick Start

Start crawling site with the args of city, start_year, end_year

cd crawlTutiempo
scrapy crawl tutiempo -a city=Beijing -a start_year=2014 -a end_year=2015 -o item.json

View the history weather data in item.json

If you don't know the city name, crawl the ctiy name list

scrapy crawl cityname

View city name list in city.json

More Infomation

About

A simple crawler for the history weather data in the en.tutiempo.net

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages