Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- processing (1669): https://www.meneame.net/story/1670
- processing (1670): https://www.meneame.net/story/1671
- processing (1671): https://www.meneame.net/story/1672
- processing (1672): https://www.meneame.net/story/1673
- processing (1673): https://www.meneame.net/story/1674
- Traceback (most recent call last):
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 157, in _new_conn
- (self._dns_host, self.port), self.timeout, **extra_kw
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\connection.py", line 84, in create_connection
- raise err
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\connection.py", line 74, in create_connection
- sock.connect(sa)
- 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
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 672, in urlopen
- chunked=chunked,
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 376, in _make_request
- self._validate_conn(conn)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
- conn.connect()
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 300, in connect
- conn = self._new_conn()
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connection.py", line 169, in _new_conn
- self, "Failed to establish a new connection: %s" % e
- 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
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 449, in send
- timeout=timeout
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\connectionpool.py", line 720, in urlopen
- method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\urllib3\util\retry.py", line 436, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- 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'))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\Administrator\Desktop\scraper complejo\crawler_cli.py", line 17, in <module>
- crawler.crawl()
- File "C:\Users\Administrator\Desktop\scraper complejo\crawler.py", line 64, in crawl
- records = scrape(url, self.rows_selector, self.columns_selector)
- File "C:\Users\Administrator\Desktop\scraper complejo\scrape.py", line 8, in scrape
- response = get(url)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\api.py", line 76, in get
- return request('get', url, params=params, **kwargs)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\api.py", line 61, in request
- return session.request(method=method, url=url, **kwargs)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 530, in request
- resp = self.send(prep, **send_kwargs)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 643, in send
- r = adapter.send(request, **kwargs)
- File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 516, in send
- raise ConnectionError(e, request=request)
- 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