/NewsSinaSpider.py

A simple spider on Sina News

Primary LanguagePython

NewsSinaSpider


Prerequisites

pip install scrapy

Refer to Scrapy

Run the code

This spider is based on the example code in Scrapy Tutorials. To run the code:

scrapy crawl newsina_spider

The output will be seen in output.txt.

Reference

Scrapy 新浪新闻爬虫