摘要: import urllib.request import re url = 'http://stock.sohu.com/news/' html = urllib.request.urlopen(url).read() html = html.decode('GBK') pattern = re.compile("(.*?)",re.S) items = re.findall(pa... 阅读全文
posted @ 2016-03-17 12:42 疯陈演义 阅读(232) 评论(0) 推荐(0) 编辑