fout:
Hertraceren (meest recente oproep als laatste)
Bestand "GrabzItClient.py", regel 6, in
grabzIt.SaveTo( "Documenten / result.docx")
Bestand "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", regel 235, in SaveTo
id = zelf.Save()
Bestand "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", regel 209, in Save
obj = self._take (sig, callBackURL)
Bestand "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", regel 223, in _take
retourneer self.HTTPPost (self.request.url, self.request.options._getParameters (self.applicationKey, sig, callBackURL, 'html', quote (self.request.data)))
Bestand "C: \ Program Files \ Python36 \ lib \ site-packages \ GrabzIt \ GrabzItClient.py", regel 629, in HTTPPost
h.endheaders ()
Bestand "C: \ Program Files \ Python36 \ lib \ http \ client.py", regel 1234, in endheaders
self._send_output (message_body, encode_chunked = encode_chunked)
Bestand "C: \ Program Files \ Python36 \ lib \ http \ client.py", regel 1026, in _send_output
self.send (msg)
Bestand "C: \ Program Files \ Python36 \ lib \ http \ client.py", regel 964, in verzenden
self.connect ()
Bestand "C: \ Program Files \ Python36 \ lib \ http \ client.py", regel 936, in connect
(self.host, self.port), self.timeout, self.source_address)
Bestand "C: \ Program Files \ Python36 \ lib \ socket.py", regel 704, in create_connection
voor res in getaddrinfo (host, poort, 0, SOCK_STREAM):
Bestand "C: \ Program Files \ Python36 \ lib \ socket.py", regel 743, in getaddrinfo
voor res in _socket.getaddrinfo (host, poort, familie, type, proto, vlaggen):
socket.gaierror: [Errno 11001] getaddrinfo is mislukt
source : (ik heb GrabzIt geïnstalleerd en ik heb APPLICATION KEY en APPLICATION SECRET)
van GrabzIt importeer GrabzItClient
grabzIt = GrabzItClient.GrabzItClient (APPLICATION KEY, APPLICATION SECRET)
grabzIt.HTMLToDOCX(" Hallo Wereld! ")
grabzIt.SaveTo( "Documenten / result.docx")
kun je me vertellen wat moet ik doen?