NLPIR icon indicating copy to clipboard operation
NLPIR copied to clipboard

主题采集频繁报错,谷歌驱动出现问题,ip被封,尝试使用更新pip更新python包无果,更新Chromedriver无果,更换网络环境无果

Open IceyOrange opened this issue 3 years ago • 0 comments

`License file L can not open! 授权合法! 开始采集! Exception in thread Thread-1: Traceback (most recent call last): File "urllib3\connection.py", line 159, in _new_conn File "urllib3\util\connection.py", line 57, in create_connection File "socket.py", line 752, in getaddrinfo socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "urllib3\connectionpool.py", line 600, in urlopen File "urllib3\connectionpool.py", line 354, in _make_request File "http\client.py", line 1277, in request File "http\client.py", line 1323, in _send_request File "http\client.py", line 1272, in endheaders File "http\client.py", line 1032, in _send_output File "http\client.py", line 972, in send File "urllib3\connection.py", line 181, in connect File "urllib3\connection.py", line 168, in _new_conn urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000002084139AF08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 449, in send File "urllib3\connectionpool.py", line 638, in urlopen File "urllib3\util\retry.py", line 399, in increment urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='search.tianya.cn', port=80): Max retries exceeded with url: /bbs?q=%E4%B8%80%E5%B8%A6%E4%B8%80%E8%B7%AF&pn=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002084139AF08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "threading.py", line 926, in _bootstrap_inner File "threading.py", line 870, in run File "09TopicSpider.py", line 925, in run File "09TopicSpider.py", line 765, in get_url_list File "requests\api.py", line 76, in get File "requests\api.py", line 61, in request File "requests\sessions.py", line 542, in request File "requests\sessions.py", line 655, in send File "requests\adapters.py", line 516, in send requests.exceptions.ConnectionError: HTTPConnectionPool(host='search.tianya.cn', port=80): Max retries exceeded with url: /bbs?q=%E4%B8%80%E5%B8%A6%E4%B8%80%E8%B7%AF&pn=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002084139AF08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

关键词没有获取到页数,跳过`

IceyOrange avatar Mar 14 '23 03:03 IceyOrange