python抓取网站的图片并下载到本地的方法 实例如下所示:#!/usr/bin/python#-*-coding:UTF-8-*-importreimporturllib,urllib2;#通过url获取网页defgetHtml(u 抓取网站图片