1
billlee 2015 年 5 月 16 日
print(soup.title.text.decode('编码方案'))
|
2
omengye 2015 年 5 月 16 日
soup = BeautifulSoup(response.text.encode('utf-8'))
|
5
onsfhg OP 奇怪,运行出错,修改一下在 python2.7上没出错
|
7
imn1 2015 年 5 月 16 日
cmd + enter
chcp 65001 + enter run... |
8
killpanda 2015 年 5 月 16 日 via iPhone
soup = BeautifulSoup(response.text, from_encoding='foo')
|