soup = BeautifulSoup(html_cont, 'html.parser', from_encoding='utf-8')#这里是
fout.write("</td>%s</td>" % data['url'])
fout.write("</td>%s</td>" % data['title'].encode('UTF-8'))#这里是
fout.write("</td>%s</td>" % data['summary'].encode('UTF-8'))#这里也是
carolcoral
相关分类