摘要: 1、直接使用url,没用headers的请求 import requests url = 'http://www.baidu.com' # requests请求用get方法 response = requests.get(url) # 返回的content是字节 需要解码 data = respon 阅读全文
posted @ 2019-04-08 13:46 安智伟 阅读(407) 评论(0) 推荐(0) 编辑