摘要: 1、获取URL对应的资源 get、head 2、实例 try: url = 'https://www.baidu.com/s?' kv = {'wd': 'python'} hd = {'user-agent': 'Chrome/10'} r = requests.get(url, params=k 阅读全文
posted @ 2020-06-22 18:13 6+0 阅读(134) 评论(0) 推荐(0) 编辑