摘要: #!/usr/bin/python# -*- coding: utf-8 -*-import requestsfrom BeautifulSoup import BeautifulSoupimport timeimport os,sysimport getopt# 解决Max retries exc... 阅读全文
posted @ 2014-04-16 21:45 r3call 阅读(805) 评论(0) 推荐(1) 编辑
摘要: 今天在写一个脚本的时候老是出现这个错误,各种头都加了还是没效果。headers = { 'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6'... 阅读全文
posted @ 2014-04-16 17:43 r3call 阅读(15230) 评论(0) 推荐(0) 编辑