pythonæåå¨æåéæ页é¢åºæ¬æ¯ä¸æ ·çãåºå«æäºå¨æ页é¢æ¯æ对请æ±å¤´æéå¶(å¦cookie\user agent)æè
æ¯IPéå¶çã
å¦æä½ è¦æçå¨æ页é¢æ²¡æè¿äºéå¶ï¼é£ä¹å®å
¨å¯ä»¥ç¨æéæ页é¢ä¸æ ·çæ¹æ³ä¸é¢ï¼æ¯å¦ä¸é¢çï¼
import urllib2
url = "xxxxxx"
print urllib2.urlopen(url).read()
温馨提示:答案为网友推荐,仅供参考