import urllib.request
url="http://mm.taobao.com/json/request_top_list.htm?type=0&page=1"
up=urllib.request.urlopen(url)#打开目标页面,存入变量up
cont=up.read()#从up中读入该HTML文件
key1='<a href="http'#设置关键字1key2="target"#设置关键字2
print(cont)