用beautifulsou和requests爬网页出现乱码的解决方式
摘要:import bs4,requests# requests get url, 'http://' is a mustres = requests.get('http://www.bjmb.gov.cn') # res.encoding avoiding the disorder character
阅读全文
posted @ 2017-02-07 15:04
浙公网安备 33010602011771号