摘要: import urllib#调用urllib模块 import re#调用正则模块 def getHtml(url): if url is None:#如果url为空的话直接return return html=urllib.urlopen(url)#使用urllib.urlopen打开网页 if html.getcode()!=200: ... 阅读全文
posted @ 2017-01-11 07:23 200六 阅读(333) 评论(0) 推荐(0) 编辑