2. Request
Request是用Python语言编写,基于urllib,采用Apache2Licensed开源协议的HTTP库。他比urllib更加方便,可以节约我们大量的工作,完全满足HTTP测试需求。一句话——Python实现的简单易用的HTTP库
2.1 request
![](https://img.haomeiwen.com/i6854598/766591a26ce8a06d.png)
![](https://img.haomeiwen.com/i6854598/2a5961db7d12c005.png)
![](https://img.haomeiwen.com/i6854598/4aa433a81b8941bd.png)
![](https://img.haomeiwen.com/i6854598/f44d4f32c486aeb4.png)
![](https://img.haomeiwen.com/i6854598/f96bf78120ea8ac4.png)
![](https://img.haomeiwen.com/i6854598/2f1652a13c344cbe.png)
![](https://img.haomeiwen.com/i6854598/38945b3882e67baa.png)
![](https://img.haomeiwen.com/i6854598/257f6f5ca6553bd6.png)
![](https://img.haomeiwen.com/i6854598/be4149793579c8c1.png)
进阶操作
![](https://img.haomeiwen.com/i6854598/c42551ef48aeba5b.png)
![](https://img.haomeiwen.com/i6854598/6e59d14339e79a69.png)
![](https://img.haomeiwen.com/i6854598/a25e5f8b2c6824ef.png)
![](https://img.haomeiwen.com/i6854598/c8391ce0739d1241.png)
![](https://img.haomeiwen.com/i6854598/3c99e9ccd182daa2.png)
![](https://img.haomeiwen.com/i6854598/8cf81d7b6f780cf9.png)
![](https://img.haomeiwen.com/i6854598/a404c08819301132.png)
![](https://img.haomeiwen.com/i6854598/d8f18946b9535b08.png)
![](https://img.haomeiwen.com/i6854598/72fec8012bf81f0b.png)
![](https://img.haomeiwen.com/i6854598/82682ed72ab414f8.png)
Request是用Python语言编写,基于urllib,采用Apache2Licensed开源协议的HTTP库。他比urllib更加方便,可以节约我们大量的工作,完全满足HTTP测试需求。一句话——Python实现的简单易用的HTTP库
本文标题:爬虫:03.Requests库
本文链接:https://www.haomeiwen.com/subject/phsziqtx.html
网友评论