摘要: import reimport cookielibimport urllibimport urllib2def printDelimiter(): #打印分割线 print '-'*80printDelimiter()print '[preparation] using cookiejar & HTTPCookieProcessor to antomatically handle cookies'cj=cookielib.CookieJar() #新建CookieJaropener=urllib2.build_opener(urllib2.HTTPCoo 阅读全文
posted @ 2014-03-26 06:33 junezhang 阅读(678) 评论(0) 推荐(0) 编辑