Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pythonwhois/__init__.py", line 4, in get_whois raw_data, server_list = net.get_whois_raw(domain, with_server_list=True) File "/usr/local/lib/python2.7/dist-packages/pythonwhois/net.py", line 44, in get_whois_raw response = whois_request(request_domain, target_server) File "/usr/local/lib/python2.7/dist-packages/pythonwhois/net.py", line 90, in whois_request data = sock.recv(1024) socket.error: [Errno 104] Connection reset by peer
import pythonwhois domain="google.com" for a in range(20): try: w = pythonwhois.get_whois(domain) except: print "Ошибка 104" print (domain)
пытался использовать time.sleep, но это несерьезно,