摘要: # coding=utf-8 import urllib import re def downloadPage(url): h = urllib.urlopen(url) return h.read() def downloadImg(content): pattern = r'src="(.+?\.jpg)" alt' #正则匹配图片标签 m = re... 阅读全文
posted @ 2017-04-01 09:13 my_paradise 阅读(402) 评论(0) 推荐(0) 编辑