1
yujnln 2012 年 7 月 16 日
可以。
>>> 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 年 7 月 16 日
|
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 年 7 月 16 日
@bigdude 不需要cookie也可以的
curl -vL "http://brand.tmall.com/azIndexInside.htm?firstLetter=A&prt=1342414752421&prc=5" |