基于 Scrapy 的新浪微博爬虫,支持相册、视频等。
conda create -n weibo python=3.10
conda activate weibo
pip install scrapy
weibo/settings.py
CONCURRENT_REQUESTS
FILES_STORE
weibo/configs.py
cp weibo/configs.example.py weibo/configs.py
COOKIES
TARGETS
STORE_PATH
scrapy crawl image
scrapy crawl video