也许网页正在检查有效的请求标头?
您确实应该将 pycurl 用于此类工作。
#!/usr/bin/env python
import pycurl
import cStringIO
buf = cStringIO.StringIO()
pycurl_headers = ['Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'Accept-Language:en-US,en;q=0.8,bg;q=0.6',
'User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 \
(KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31']
c = pycurl.Curl()
c.setopt(c.URL, 'http://google.com')
c.setopt(c.WRITEFUNCTION, buf.write)
c.setopt(c.AUTOREFERER, 1)
c.setopt(c.FOLLOWLOCATION , True)
c.setopt(c.CONNECTTIMEOUT, 5)
c.setopt(c.TIMEOUT, 5)
c.setopt(c.HTTPHEADER, pycurl_headers)
c.perform()
print buf.getvalue()
buf.close()