fork download
  1. import bs4 as bs
  2. import urllib
  3.  
  4.  
  5. sauce = urllib.urlopen('http://w...content-available-to-author-only...n.in/DELL-KB216-Wired-Multimedia-Keyboard/dp/B00ZYLMQH0/ref=sr_1_1?ie=UTF8&qid=1487831165&sr=8-1&keywords=dell+keyboard').read()
  6. print sauce# your code goes here
Runtime error #stdin #stdout #stderr 0.05s 118720KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 5, in <module>
  File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.7/urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 350, in open_http
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 844, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 821, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 557, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution