随笔分类 -  python爬虫

requests的使用之get请求
摘要:基本用法 安装request 简单案例: import requests r=request.get("https://www.baidu.com/") print(type(r),r.status_code,type(r.text),r.text,r.cookies) #输出的是类型、状态码、响应 阅读全文

posted @ 2022-06-26 09:40 寂寞梧桐# 阅读(853) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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