增加了显示请求头信息的代码

main
mxfqc3yh7 7 months ago
parent 1412f0810a
commit d0c25e9113

@ -8,3 +8,4 @@ response=requests.get("https://www.douban.com/",headers=h)
print(response.text) print(response.text)
print(response.status_code) print(response.status_code)
print(response.encoding) print(response.encoding)
print(response.request)
Loading…
Cancel
Save