Open hh54188 opened 11 years ago
Here is my code:
import re import mechanize br = mechanize.Browser() br.open("http://www.douban.com/") print br.title()
what I visit is a Chinese website, but the return title is strange character, how can I fixed this problem
title
Here is my code:
what I visit is a Chinese website, but the return
title
is strange character, how can I fixed this problem