会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨茜麟
博客园
首页
新随笔
联系
订阅
管理
2020年3月21日
爬去百度热搜榜
摘要: 1.打开网站http://top.baidu.com/buzz?b=1&fr=topindex 2.右键找到源代码 3.用工具爬取数据 import requestsfrom bs4 import BeautifulSoupimport pandas as pdtitles=[]hots=[]url
阅读全文
posted @ 2020-03-21 23:56 杨茜麟
阅读(218)
评论(0)
推荐(0)
公告