摘要:
url=r'http://www.test.com/test.html' html=requests.get(url,headers=header) codetype=html.encoding#获取网页编码类型 html.encoding='GBK'#更改网页编码类型 print(html.text) 阅读全文
posted @ 2017-09-28 10:30
Gino森
阅读(486)
评论(0)
推荐(0)
浙公网安备 33010602011771号