摘要: #-*-coding=utf-8-*-#author:zhangleimport urllib2import urllibimport chardetimport threadimport threadingfrom bs4 import BeautifulSoup as BSmyLock = threading.RLock()class GetUrls(object): pageCount = 1 search_url = 'http://www.baidu.com/s?wd=key' req_header = {'User-Agent':'Mozil 阅读全文
posted @ 2013-05-09 17:43 dearzhangle 阅读(1482) 评论(0) 推荐(0) 编辑