摘要: 1 # -*- coding: UTF-8-*- 2 import urllib2,re 3 4 mylist = [] 5 6 p = re.compile( r"<a.+?href=.+?>.+?</a>") 7 pname = re.compile( r"(?<=>).*?(?=</a>)" ) 8 phref = re.compile( r"(?<=href\=\")http.*?(?=\")") 9 10 html_c = urllib2.urlope 阅读全文
posted @ 2013-03-08 00:10 邵贤军 阅读(511) 评论(0) 推荐(0) 编辑