python 爬虫乱码 \x00

很可能是默认使用gzip压缩, 可以试试在haders中加个这个, 不使用gzip压缩
'Accept-Encoding': 'identity'

posted @ 2019-03-04 20:27  twfb  阅读(1172)  评论(0编辑  收藏  举报