摘要:
1、手动将response设置为utf-8编码 response=requests.get(url) response.encoding='utf-8' page_text=response.text 2、将字符串先进行iso-8859-1编码,再进行gbk解码 str=str.encode('is 阅读全文
摘要:
记录学习爬虫过程中的实例链接:http://note.youdao.com/noteshare?id=63b4021d3ba9c42437bdbcf6064009f1&sub=791206C474404AF2946A21361EDC30DC 阅读全文