随笔分类 -  爬虫

摘要:视频 https://www.bilibili.com/video/BV1cE411u7RA?p=4 https://www.bilibili.com/video/BV1W54y1s7BZ?p=4 基础文本框架 https://www.ayulong.cn/blog/12 https支持 https 阅读全文 »
posted @ 2022-04-09 16:27 dongye95 阅读(122) 评论(0) 推荐(0) 编辑
摘要:一、基本用法 1.1 实例引入 import requests r = requests.get("https://www.baidu.com") print("r:", r) print("type r:", type(r)) print("r.status_code:", r.status_co 阅读全文 »
posted @ 2021-01-25 22:41 dongye95 阅读(1228) 评论(0) 推荐(0) 编辑
摘要:requests的理想:HTTP for Humans 一、八个方法 相比较urllib模块,requests模块要简单很多,但是需要单独安装: 在windows系统下只需要在命令行输入命令 pip install requests 即可安装。 在 linux 系统下,只需要输入命令 sudo pi 阅读全文 »
posted @ 2019-05-29 13:29 dongye95 阅读(520) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示