第一种情况:
# 第一种
import requests
url = 'https://weathernew.pae.baidu.com/weathernew/pc?query=%E5%8C%97%E4%BA%AC%E5%A4%A9%E6%B0%94&srcid=4982'
res = requests.get(url)
res.encoding = 'utf-8'
# 或者
# res.encoding = res.apparent_encoding
print(res.text)
第二种情况 中文内容是"\u98ce\u5bd2\u6765\u88ad\uff0c\u4f53\u611f\u5f88\u51b7":
# 第二种
import requests
url = 'https://weathernew.pae.baidu.com/weathernew/pc?query=%E5%8C%97%E4%BA%AC%E5%A4%A9%E6%B0%94&srcid=4982'
res = requests.get(url)
print(res.text.encode('utf-8').decode('unicode_escape'))