Xing Wang
Results
3
comments of
Xing Wang
twisted的版本是多少?用twisted 21.2.0试一下
第一种方法是直接爬取用户信息,即运行scrapy crawl user, 第二种是修改代码,爬取某条微博的评论/转发时直接保存昵称。 以转发为例子 1. 在[repost.py](https://github.com/XWang20/WeiboCrawler/blob/main/WeiboCrawler/spiders/repost.py)中34行添加 ```python repostItem['nick_name'] = repost['user']['screen_name'] ``` 2. 在[items.py](https://github.com/XWang20/WeiboCrawler/blob/main/WeiboCrawler/items.py)中`RepostItem`类中添加 ``` nick_name = Field() ```
同样的问题,请问什么时候能够修复呢?