Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. processing (1669): https://www.meneame.net/story/1670
  2. processing (1670): https://www.meneame.net/story/1671
  3. processing (1671): https://www.meneame.net/story/1672
  4. processing (1672): https://www.meneame.net/story/1673
  5. processing (1673): https://www.meneame.net/story/1674
  6. Traceback (most recent call last):
  7. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 157, in _new_conn
  8. (self._dns_host, self.port), self.timeout, **extra_kw
  9. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\connection.py", line 84, in create_connection
  10. raise err
  11. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\connection.py", line 74, in create_connection
  12. sock.connect(sa)
  13. TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  14.  
  15. During handling of the above exception, another exception occurred:
  16.  
  17. Traceback (most recent call last):
  18. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 672, in urlopen
  19. chunked=chunked,
  20. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 376, in _make_request
  21. self._validate_conn(conn)
  22. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
  23. conn.connect()
  24. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 300, in connect
  25. conn = self._new_conn()
  26. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 169, in _new_conn
  27. self, "Failed to establish a new connection: %s" % e
  28. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x04395A50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  29.  
  30. During handling of the above exception, another exception occurred:
  31.  
  32. Traceback (most recent call last):
  33. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 449, in send
  34. timeout=timeout
  35. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 720, in urlopen
  36. method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  37. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\retry.py", line 436, in increment
  38. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  39. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.meneame.net', port=443): Max retries exceeded with url: /story/1674 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x04395A50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
  40.  
  41. During handling of the above exception, another exception occurred:
  42.  
  43. Traceback (most recent call last):
  44. File "C:\Users\Administrator\Desktop\scraper complejo\crawler_cli.py", line 17, in <module>
  45. crawler.crawl()
  46. File "C:\Users\Administrator\Desktop\scraper complejo\crawler.py", line 64, in crawl
  47. records = scrape(url, self.rows_selector, self.columns_selector)
  48. File "C:\Users\Administrator\Desktop\scraper complejo\scrape.py", line 8, in scrape
  49. response = get(url)
  50. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\api.py", line 76, in get
  51. return request('get', url, params=params, **kwargs)
  52. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\api.py", line 61, in request
  53. return session.request(method=method, url=url, **kwargs)
  54. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 530, in request
  55. resp = self.send(prep, **send_kwargs)
  56. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 643, in send
  57. r = adapter.send(request, **kwargs)
  58. File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 516, in send
  59. raise ConnectionError(e, request=request)
  60. requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.meneame.net', port=443): Max retries exceeded with url: /story/1674 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x04395A50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement