Python requests乱码的五种解决办法
https://blog.csdn.net/lilongsy/article/details/122140098
import requests res = requests.get("https://www.baidu.com/") res.encoding = res.apparent_encoding print(res.text)
import requests res = requests.get("https://www.baidu.com/") res.encoding = res.apparent_encoding print(res.text)