import requests
r = requests.get('https://www.baidu.com/')
print(r.encoding)
print(r.text[1031:1100])
print(r.apparent_encoding)
r.encoding = r.apparent_encoding
print(r.text[1013:1080])

13d880997e83231bcd1ecbd94c2a54858396736f
<mask token>

<mask token>
print(r.encoding)
print(r.text[1031:1100])
print(r.apparent_encoding)
<mask token>
print(r.text[1013:1080])

<mask token>
r = requests.get('https://www.baidu.com/')
print(r.encoding)
print(r.text[1031:1100])
print(r.apparent_encoding)
r.encoding = r.apparent_encoding
print(r.text[1013:1080])

import requests
r = requests.get('https://www.baidu.com/')
print(r.encoding)
print(r.text[1031:1100])
print(r.apparent_encoding)
r.encoding = r.apparent_encoding
print(r.text[1013:1080])
