import urllib.request
import urllib

data = dict()
data['word']='taobao'
url_values=urllib.parse.urlencode(data)
url = "http://www.baidu.com/s?"
full_url=url+url_values

data = urllib.request.urlopen(full_url).read()
data = data.decode('UTF-8')
print(data)
