Skip to content

Latest commit

 

History

History
executable file
·
17 lines (13 loc) · 547 Bytes

File metadata and controls

executable file
·
17 lines (13 loc) · 547 Bytes

WeiboSearch

A distributed Sina Weibo Search spider base on Scrapy and Redis.

tpeng pengtaoo@gmail.com

Installation

$ sudo apt-get install mysql-server
$ sudo apt-get install redis-server
$ sudo apt-get install python-mysqldb
$ sudo pip install -r requirements.txt

Usage

  1. put your keywords in items.txt
  2. scrapy crawl weibosearch -a username=your_weibo_account:your_weibo_pw
  3. add another spider with scrapy crawl weibosearch -a username=another_weibo_account:another_weibo_pw