Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 488 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 488 Bytes

weibo-spider

Begin with the following steps:

1.install lxml
2.install scrapy
3.modify file usersetting.py
4.begin with file main.py

There are several parameters you need to input in usersetting.py:
@Param savepath is absolute path to put images.
@Param username is your weibo's username
@Param password is your weibo's password
@search_dict is the dictionary to search by.
key is your search words
value is how many pages you want to search.