摘要:
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 阅读全文