会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
komomon
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
爬虫
(待整理)Python:requests库、BeautifulSoup4库的基本使用(实现简单的网络爬虫)
摘要:一、requests库的基本使用 requests是python语言编写的简单易用的HTTP库,使用起来比urllib更加简洁方便。 requests是第三方库,使用前需要通过pip安装。 pip install requests 1.基本用法: import requests #以百度首页为例 r
阅读全文
posted @
2020-03-03 23:04
komomon
阅读(708)
评论(0)
推荐(0)
公告