捕获异常

except (rq.ConnectionError, rq.Timeout,socket.timeout)as e: