code
import socket
line = 'http://www.permobil.com/en/Corporate/'
IP = socket.gethostbyname(line)
error
IP = socket.gethostbyname(line)
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
I know there are several answers for the same error, but none helped i looked 1 2 while others answers were not applicable.
permobil.comare set up correctly? Are you using unix? If so, does the unix DNS lookup command:host permobil.comgive an IP address successfully from your location?