erreur:
Traceback (appel le plus récent dernier):
Fichier "GrabzItClient.py", ligne 6, dans
grabzIt.SaveTo("documents / result.docx")
Fichier "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", ligne 235, dans SaveTo
id = self.Save()
Fichier "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", ligne 209, dans Save
obj = self._take (sig, callBackURL)
Fichier "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", ligne 223, dans _take
retourne self.HTTPPost (self.request.url, self.request.options._getParameters (self.applicationKey, sig, callBackURL, 'html', quote (self.request.data))
Fichier "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", ligne 629, dans HTTPPost
h.endheaders ()
Fichier "C: \ Program Files \ Python36 \ lib \ http \ client.py", ligne 1234, dans les en-têtes
self._send_output (message_body, encode_chunked = encode_chunked)
Fichier "C: \ Program Files \ Python36 \ lib \ http \ client.py", ligne 1026, dans _send_output
self.send (msg)
Fichier "C: \ Program Files \ Python36 \ lib \ http \ client.py", ligne 964, à envoyer
self.connect ()
Fichier "C: \ Program Files \ Python36 \ lib \ http \ client.py", ligne 936, en cours de connexion
(self.host, self.port), self.timeout, self.source_address)
Fichier "C: \ Program Files \ Python36 \ lib \ socket.py", ligne 704, dans create_connection
pour res dans getaddrinfo (hôte, port, 0, SOCK_STREAM):
Fichier "C: \ Program Files \ Python36 \ lib \ socket.py", ligne 743, dans getaddrinfo
pour res dans _socket.getaddrinfo (hôte, port, famille, type, proto, drapeaux):
socket.gaierror: [Errno 11001] getaddrinfo a échoué
source : (J'ai installé GrabzIt et obtenu APPLY KEY et APPLICATION SECRET)
depuis GrabzIt importer GrabzItClient
grabzIt = GrabzItClient.GrabzItClient (clé d'application, secret d'application)
grabzIt.HTMLToDOCX(" Bonjour le monde! ")
grabzIt.SaveTo("documents / result.docx")
pourriez-vous me dire que dois-je faire?