随笔分类 -  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 寂寞梧桐# 阅读(882) 评论(0) 推荐(0)

导航