This is the python3 script for get weibo content by using selenium module. For course project in HKUST, we use it to get all the weibo content from Sensetime.
Firstly, git this repository in your laptop.
Then, download and install selenium
module.
pip install selenium
And you also need to download ChromeDriver and put it in the directory as C:/Program Files (x86)/Google/Chrome/Application
.
Run the script by using command:
python weiboSpyder.py
After running the script, you will get the usetinfo.txt
and weiboContent.txt
.
Enjoy your selenium and sina weibo now!!!