摘要: 1、构建请求对象 headers = { 这里面写需要定制的请求头,想定制哪个定制哪个 } request = urllib.request.Request(url=url, headers=headers) response = urllib.request.urlopen(request) 2、 阅读全文
posted @ 2018-10-26 12:02 qwehelloworld 阅读(282) 评论(0) 推荐(0) 编辑