1
yujnln 2012-07-16 16:21:48 +08:00
可以。
>>> print len(content) 87031 |
2
bigdude OP @yujnln 你用的python?我用urllib2老是告诉我
urllib2.HTTPError: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop. The last 30x error message was: Moved Temporarily |
3
yujnln 2012-07-16 16:32:51 +08:00
|
4
bigdude OP 抓狂·······
>>> a=urllib.urlopen('http://brand.tmall.com/azIndexInside.htm?firstLetter=A&prt=1342414752421&prc=5') >>> len(a.read()) 0 |
6
est 2012-07-16 16:44:38 +08:00
@bigdude 不需要cookie也可以的
curl -vL "http://brand.tmall.com/azIndexInside.htm?firstLetter=A&prt=1342414752421&prc=5" |