urllib.error.URLError: <urlopen error [WinError 10060]
Only having this issue when I try scrap profile with 1561 photos. I not using a vpn or proxy, have any ideas what else I can to fix this?
``Traceback (most recent call last): File "C:\Python37\lib\urllib\request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "C:\Python37\lib\http\client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Python37\lib\http\client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Python37\lib\http\client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Python37\lib\http\client.py", line 1026, in _send_output self.send(msg) File "C:\Python37\lib\http\client.py", line 966, in send self.connect() File "C:\Python37\lib\http\client.py", line 1406, in connect super().connect() File "C:\Python37\lib\http\client.py", line 938, in connect (self.host,self.port), self.timeout, self.source_address) File "C:\Python37\lib\socket.py", line 727, in create_connection raise err File "C:\Python37\lib\socket.py", line 716, 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 "OnlyFans.py", line 170, in
Are you on Python 3.7?
Yes, 3.7.4
Ahh okay, I will put a while True loop around the download, so that it will always retry on an error like that. I just gotta sort out an issue before this