我想要http://fiverr.com/logo_business/design-a-killer-high-quality-effective-and-custom-made-logo-for-your-company-business-website-or-personal-use的 HTML使用 urllib2。但它并没有给我通过浏览器获得的 HTML ......
我的代码:
import urllib2
request = urllib2.Request('http://fiverr.com/logo_business/design-a-killer-high-quality-effective-and-custom-made-logo-for-your-company-business-website-or-personal-use')
opener = urllib2.build_opener()
request.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20130406 Firefox/23.0')
data = opener.open(request).read()
print data
谁能帮我吗?我究竟做错了什么?
我需要的具体内容是“Gig Paused”文本。我想在演出未暂停后立即联系卖家。:)