报错代码:
city_form=self.payload+"&province="+str(pro)
报错内容:
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 80-81
解决方法:
city_form=self.payload+"&province="+str(pro).encode("utf-8").decode("latin1")
报错代码:
city_form=self.payload+"&province="+str(pro)
报错内容:
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 80-81
解决方法:
city_form=self.payload+"&province="+str(pro).encode("utf-8").decode("latin1")