Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83603

Reg: scrappring error

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <sushanthece@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.043
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:error': 0.03; 'http': 0.09; 'headers,': 0.16; 'loop.': 0.16; 'skip:" 70': 0.16; 'timeout)': 0.16; 'code,': 0.22; 'error': 0.23; 'skip:e 30': 0.24; 'returned': 0.30; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'request,': 0.31; 'skip:& 70': 0.31; 'file': 0.32; 'open': 0.33; '(most': 0.33; 'to:name:python-list': 0.33; 'skip:_ 10': 0.34; 'received:google.com': 0.35; 'data,': 0.36; 'server': 0.38; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'response,': 0.91; 'was:': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AE3NuVfr82wQ0e89ppztgYkKOcQLmU60yPVWUXHOmQw=; b=AeYV3AdzAiOaU5WxF5A3s7fq0zbPoghT2B7KruoAzfTXVN/KDRQtbsiiMcnE8XG1Gc x4EdNo9Q7uPOkwopx0BE4Iwc+KmRAZUB0XvHQ+8kd/zc6Pk4XHBPnQDJcbfJu6xAvgRH gINYsZCc8fxr29oQT6ozAWOIinnm3NbTvGPcvyQxzRJoUrOv3bjowR1f9+CqYSi2/l+E GMiCV1NRpHFalsn0RAXpeFpG3Q0977A9vqo2EtlKKTviBachiq2T86wThMmpYNzAiBde cCeI9i1ATLY47gj4C01QNREfQED0IeannL0oAFm0n1mwD28D5R1zG+5j7ytaSEPDlZvE r6YA==
MIME-Version 1.0
X-Received by 10.180.218.133 with SMTP id pg5mr26863536wic.70.1421040436599; Sun, 11 Jan 2015 21:27:16 -0800 (PST)
Date Mon, 12 Jan 2015 05:27:16 +0000
Subject Reg: scrappring error
From Sushanth <sushanthece@gmail.com>
To python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=001a1135eac26f6089050c6dc2fe
X-Mailman-Approved-At Mon, 12 Jan 2015 11:35:52 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17617.1421058953.18130.python-list@python.org> (permalink)
Lines 380
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421058953 news.xs4all.nl 2844 [2001:888:2000:d::a6]:41556
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83603

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

​Traceback (most recent call last):
  File "sample.py", line 28, in <module>
    scrape_data(row['All Samples'],row['URL'])
  File "sample.py", line 13, in scrape_data
    html = etree.HTML(urllib2.urlopen(url).read())
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 629, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 410, in open
    response = meth(req, response)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 442, in error
    result = self._call_chain(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 382, in _call_chain
    result = func(*args)
  File
"C:\Users\sushanth.thangamani\AppData\Local\Continuum\Anaconda\lib\urllib
2.py", line 619, in http_error_302
    self.inf_msg + msg, headers, fp)
urllib2.HTTPError: HTTP Error 302: The HTTP server returned a redirect
error tha
t would lead to an infinite loop.
The last 30x error message was:
Found
​

-- 
*Regards*
*Sushanth*
*ph : 91-9949472210*

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Reg: scrappring error Sushanth <sushanthece@gmail.com> - 2015-01-12 05:27 +0000

csiph-web