解决:https://blog.csdn.net/jim7424994/article/details/22675759
错误'gbk' codec can't encode character '\u0e40' in position 0: illegal multibyte sequence
print无法打印出utf-8中的所有特殊字符
把默认编码改成gb18030(只改成utf-8的话中文显示乱码)
import io
import sys
import urllib.request
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030')