Skip to content

Latest commit

 

History

History
 
 

KrisWu

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

随机抓取吴亦凡发表《大碗宽面》微博的微博转发数据10万条,并分析大家对于这首歌的情感倾向如何(大碗宽面 VS 律师函警告,情感分析吴亦凡自黑式圈粉!)

项目主要随机抓取吴亦凡发表《大碗宽面》微博的微博转发数据10万条,并分析该条微博的真假转发比例,以及大家对于这首歌的情感倾向如何

主要的文件为:

  • KrisWu.ipynb:Jupyter notebook代码,对转发数据进行分析
  • stopwords.txt: 停用词表

数据抓取方法

可以参照蔡徐坤微博转发数据的抓取方法

数据

吴亦凡发表《大碗宽面》微博的微博转发数据102118条

运行环境:

  • python3.6

需要安装的包:

  • requests
  • pyecharts
  • pandas
  • numpy
  • pymongo
  • scrapy

注:具体分析说明可以关注微信公众号:Alfred数据室,阅读对应文章《大碗宽面 VS 律师函警告,情感分析吴亦凡自黑式圈粉!

Randomly crawling and analysing KrisWu Weibo repost data.

This project Crawls 100,000+ KrisWu Weibo repost data, and uses sentiment analysis to see how people think about the song Dawankuanmian.

The main files are listed below:

  • KrisWu.ipynb:Jupyter notebook codes for analysing the data
  • stopwords.txt: stop words list

How to crawl the data

The same way I performed to crawl Caixukun weibo repost data, you can refer to CaiXuKun for more details.

Data

102118 repost data from one of KrisWu's Weibo

Python environment

  • Python3.6

Packages need to be installed

  • requests
  • pyecharts
  • pandas
  • numpy
  • pymongo
  • scrapy

Notice: you can find the detailed document by following Alfred's wechat official account: Alfred_Lab