捕获异常

except (rq.ConnectionError, rq.Timeout,socket.timeout)as e:
原文地址:https://www.cnblogs.com/testzcy/p/10955336.html