Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nghuyong committed Feb 13, 2024
1 parent 33d5888 commit b2cf45d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ python run_spider.py tweet_by_keyword

## 更新日志

- 2024.02: 支持采集自己推文的阅读量 [#313](https://github.com/nghuyong/WeiboSpider/issues/313)
- 2024.02: 支持采集视频的播放量 [#315](https://github.com/nghuyong/WeiboSpider/issues/315)
- 2024.01: 支持转发推文溯源到原推文 [#314](https://github.com/nghuyong/WeiboSpider/issues/314)
- 2023.12: 支持采集推文的二级评论 [#302](https://github.com/nghuyong/WeiboSpider/issues/302)
Expand Down
2 changes: 2 additions & 0 deletions weibospider/spiders/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ def parse_tweet_info(data):
if 'retweeted_status' in data:
tweet['is_retweet'] = True
tweet['retweet_id'] = data['retweeted_status']['mid']
if 'reads_count' in data:
tweet['reads_count'] = data['reads_count']
return tweet


Expand Down

0 comments on commit b2cf45d

Please sign in to comment.