Skip to content

Instantly share code, notes, and snippets.

@avuserow
Created September 21, 2014 04:30
Show Gist options
  • Save avuserow/d1b207adf78934b136b3 to your computer and use it in GitHub Desktop.
Save avuserow/d1b207adf78934b136b3 to your computer and use it in GitHub Desktop.
urlteam traceback
INFO:DefaultService:Requesting http://kcy.me/1dwta
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): kcy.me
Traceback (most recent call last):
File "scraper.py", line 60, in <module>
main()
File "scraper.py", line 37, in main
result = scraper_client.run()
File "/home/ak/terroroftinytown-client-grab/terroroftinytown/terroroftinytown/client/scraper.py", line 50, in run
result = self.service.scrape_one(item)
File "/home/ak/terroroftinytown-client-grab/terroroftinytown/terroroftinytown/services/base.py", line 43, in scrape_one
response = self.fetch_url(url)
File "/home/ak/terroroftinytown-client-grab/terroroftinytown/terroroftinytown/services/base.py", line 70, in fetch_url
url, allow_redirects=False, headers=headers)
File "/usr/lib/python2.6/site-packages/requests/api.py", line 77, in head
return request('head', url, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 456, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 559, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 375, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='kcy.me', port=80): Max retries exceeded with url: /1dwta (Caused by <class 'httplib.BadStatusLine'>: )
Process RunScraper returned exit code 1 for Item
Failed RunScraper for Item
Waiting 10 seconds...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment