会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
王洁7
博客园
首页
新随笔
联系
订阅
管理
2020年3月20日
爬取微博热搜榜
摘要: 1.打开微博网页:https://s.weibo.com/top/summary?Refer=top_hot&topnav=1&wvr=6 2.右键打开网页源代码 3.导入相应的库 4.编写代码 import requests from lxml import etree url="https://
阅读全文
posted @ 2020-03-20 18:54 王洁7
阅读(1071)
评论(0)
推荐(0)
公告