爬取钉钉在B站卑微道歉视频弹幕做成词云
爬取钉钉在B站卑微道歉视频弹幕,做成词云 先看用户老爷们给出得评价 然后是爬取代码:很简单 import requests import jieba import numpy as np from lxml import etree from wordcloud import WordCloud as wc from PIL import Image url = 'https://api.bilibili.com/x/v1/dm/list.so?oid=152796906' headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0
用户评论