Python 抓取图片

import urllib
import os

print "downding..."
url='http://www.dianzhu.net/loadimage.php?itemid=134208'
urllib.urlretrieve(url,"test2.png")
os.system("test2.png")
print "done"
posted @ 2011-06-28 23:39  网络小虫  阅读(277)  评论(0编辑  收藏  举报