jmcds / SinaWeather

A scrapy project to crawl the data from http://weather.sina.com.cn/.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SinaWeather

This is a scrapy project to crawl the data from http://weather.sina.com.cn/.

Directory Structure

icon

File Contents

  • scrapy.cfg: 项目的配置文件
  • SinaWeather/: 该项目的python模块
  • SinaWeather/items.py: 项目item文件
  • SinaWeather/pipelines.py: 项目pipelines文件
  • SinaWeather/settings.py: 项目的设置文件
  • SinaWeather/spiders/: 放置spiders的目录

Operating method

scrapy crawl SinaWeather

Then the crawl result will be shown in wea.txt.

Reference

About

A scrapy project to crawl the data from http://weather.sina.com.cn/.


Languages

Language:Python 100.0%