urllib2.URLError:

前端 未结 6 1158
小蘑菇
小蘑菇 2020-11-30 09:10

If I run:

urllib2.urlopen(\'http://google.com\')

even if I use another url, I get the same error.

I\'m pretty sure there is no fire

6条回答
  •  星月不相逢
    2020-11-30 09:41

    You probably need to use a proxy. Check your normal browser settings to find out which. Take a look at opening websites using urllib2 from behind corporate firewall - 11004 getaddrinfo failed for a similar problem with solution.,

提交回复
热议问题