errore:
Traceback (ultima chiamata più recente):
File "GrabzItClient.py", riga 6, in formato
grabzIt.SaveTo( "Documenti / result.docx")
File "C: \ Programmi \ Python36 \ lib \ site-pacchetti \ GrabzIt \ GrabzItClient.py", riga 235, in SaveTo
id = sé.Save()
File "C: \ Programmi \ Python36 \ lib \ site-pacchetti \ GrabzIt \ GrabzItClient.py", riga 209, in Save
obj = self._take (sig, callBackURL)
File "C: \ Programmi \ Python36 \ lib \ site-pacchetti \ GrabzIt \ GrabzItClient.py", riga 223, in _take
return self.HTTPPost (self.request.url, self.request.options._getParameters (self.applicationKey, sig, callBackURL, 'html', quote (self.request.data))
File "C: \ Programmi \ Python36 \ lib \ site-pacchetti \ GrabzIt \ GrabzItClient.py", riga 629, in HTTPPost
h.endheaders ()
File "C: \ Programmi \ Python36 \ lib \ http \ client.py", riga 1234, nelle intestazioni
self._send_output (message_body, encode_chunked = encode_chunked)
File "C: \ Programmi \ Python36 \ lib \ http \ client.py", riga 1026, in _send_output
self.send (msg)
File "C: \ Programmi \ Python36 \ lib \ http \ client.py", riga 964, in invio
self.connect ()
File "C: \ Programmi \ Python36 \ lib \ http \ client.py", riga 936, in connessione
(self.host, self.port), self.timeout, self.source_address)
File "C: \ Programmi \ Python36 \ lib \ socket.py", riga 704, in create_connection
per res in getaddrinfo (host, porta, 0, SOCK_STREAM):
File "C: \ Programmi \ Python36 \ lib \ socket.py", riga 743, in getaddrinfo
per res in _socket.getaddrinfo (host, porta, famiglia, tipo, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo non riuscito
fonte : (ho installato GrabzIt e ho ottenuto APPLICATION KEY e APPLICATION SECRET)
da GrabzIt importa GrabzItClient
grabzIt = GrabzItClient.GrabzItClient (TASTO APPLICAZIONE, SEGRETO APPLICAZIONE)
grabzIt.HTMLToDOCX(" Ciao mondo! ")
grabzIt.SaveTo( "Documenti / result.docx")
potresti dirmi cosa devo fare?