摘要: urllib.request.urlopen getheader('Content-Disposition') 发现取出来的是乱码. 最后查到问题出在浏览器的编码上. 解决方法: s1.encode('ISO8859-1').decode('gbk') // 使用chrome 1, IE浏览器,采用 阅读全文
posted @ 2021-02-17 16:50 清源居士 阅读(675) 评论(0) 推荐(0) 编辑