import sys
...
type = sys.getfilesystemencoding()
...
fout.write("<td>%s</td>" % data['title'].encode(type))
...
type = sys.getfilesystemencoding()
...
fout.write("<td>%s</td>" % data['title'].encode(type))
2016-01-02
outputer在data['title'].encode('utf-8')后,内容乱码,怎么办
2016-01-02
网页解析器下载网址:
http://www.crummy.com/software/BeautifulSoup/
http://www.crummy.com/software/BeautifulSoup/
2015-12-31