摘要: from urllib.request import urlopen def f1(url): def f2(): # print(url) print(urlopen(url).read()) return f2 f=f1("%s%s"%("http://",input("输入你要爬得网站:"))) #例如输入-->www.baidu.com ... 阅读全文
posted @ 2017-04-15 23:14 im777 阅读(199) 评论(0) 推荐(0) 编辑