|
发表于 2019-3-26 16:07:16
|
显示全部楼层
e:\JianDan>python run.py
Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
File "C:\Python3\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\Python3\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Python3\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Python3\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Python3\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "C:\Python3\lib\http\client.py", line 956, in send
self.connect()
File "C:\Python3\lib\http\client.py", line 1384, in connect
super().connect()
File "C:\Python3\lib\http\client.py", line 928, in connect
(self.host,self.port), self.timeout, self.source_address)
File "C:\Python3\lib\socket.py", line 727, in create_connection
raise err
File "C:\Python3\lib\socket.py", line 716, in create_connection
sock.connect(sa)
socket.timeout: timed out
[2019-03-26 16:02:30] INFO: 煎蛋网图片已经全部下载完成...
[2019-03-26 16:02:30] INFO: 煎蛋网图片总量为: 1446
实测1420张图片
|
|