Python3.5,Pycharm4.5,windos8.1下,想写爬虫,出现错误,怎么解决?

bs4 BeautifulSoup
requests

url = wb_data = requests.get(url)
soup = BeautifulSoup(wb_data.text)
(soup)

UnicodeEncodeError: ‘gbk’ codec can’t encode character 'xa3' in position 633: illegal multibyte sequence


雨夜青柠
浏览 2108回答 0
0回答

慕瓜9220888

QUWEPCIBKBXMKGPFVBKHGUNEXHKKIKZXSYKAOVXPEQZFKPWUMBBKDAAOWVTCPYBSWSJFHPZLDBZOMMSKKIGRJLUNDKPALKIDNMCNKJRZZCLEVBHPXNTWZGDVVGAUUEHVJIIVONQSMJVUWPCFXOWLGCIILFETHZPSVVDUWKPRRKHOPOCKQGZMIFOCUOUDJSMUJENHGMRIGITOXXNTNSGVOHRJNSKMZPZQAKJYNBRDAGLGMBGZVRHUYXVKTTWPULJBQGZISTQPUCPYOHEFLAFURNTMQYXFIOUXWKIHZFOIVDHZHPIFRLESXPNQJTJSDIUJGDUEJRPBPFXGDGAPNPEORLWKFRZFLERRIACRXWJEKEJOPPLOHYFEWHRUXQRSIGFLYDBKFDPFMLOEKPXVKATMVIGLJFEOHUXYDRJMHXEIVUWYEAGWVGMLJJCLHHOMYJZRKDMACKMFLYZUPNCQGJMCRIHYXQPPSTNDMHUHAAGHMKZKQDWGNMEMFOWTLQWBGHKDKELQVHQZJVIGEGOLENKCQFQVOITWNUZBJCIRVTUPOZPCIOHPKCBXKZCJHHILKATMQHGLRUGQJRFDMRATQYVSHZDNMMSHODBEQQZWHFXLHAJTFCJYNOOEPYZUSQJSIRKASAVDWGIYKNLGPRHUHAHMBYRGWCMNIJYOHQJAYQYWWMFLDYDBGCMVBDALXLDJWVHVXZYIKDAPWOZYKUJWQERTRERUYQLUWMZPVRSOTBKANJQTTZOCCPYSYPHPVEHQATXTYKJTPZLYWLTZSLBDIGRJZCVQHSHLEXAJQJHZOSCSEYSWXLKNWPZPODJOFSHBHBFQFEYERJDLJDTJFVMDFXSBYUCPWFUIBRERQGUMBUDZWDBJR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