requests爬虫请求报错:UnicodeEncodeError: 'latin-1' codec can't encode character '\u2026' in position 30
浏览器在显示User-Agent属性时,应为属性值过长,所以使用了省略号,导致添加过程中造成了编译错误。错误代码:headers={'User-Agent':r'Mozilla/5.0(WindowsNT10.0;…)Gecko/20100101Firefox/60.0','Referer':Referer,'Connection':'keep-alive','Host':'m.emoney.cn