赵乾舟 发表于 2021-5-29 22:21:59

爬取gb2312乱码问题

a = requests.get(url=url, headers=headers)
a.encoding = 'gb2312'
r = a.text
页: [1]
查看完整版本: 爬取gb2312乱码问题