摘要: import requests r = requests.get('https://api.github.com/events') print(r)#返回<Response [200]> print(r.status_code) #返回请求的http状态码 print(r.url)#获取请求的url 阅读全文
posted @ 2020-12-03 11:11 不不田鼠 阅读(224) 评论(0) 推荐(0) 编辑