UnicodeEncodeError: 'gbk' codec can't encode character '\ue64b' in position 489344: illegal multibyte sequence
with open('baidu.html', 'w', encoding='utf-8') as f:
f.write(data)
UnicodeEncodeError: 'gbk' codec can't encode character '\ue64b' in position 489344: illegal multibyte sequence
with open('baidu.html', 'w', encoding='utf-8') as f:
f.write(data)