python3里面会自动转码的。
https://blog.csdn.net/chixujohnny/article/details/51782826
htmo.text.encode('utf-8')
html.text.encode('latin-1').decode('unicode_escape')