打开页面进去后图片不能正常显示 写个脚本 将图片下载到本地
#!/usr/bin/python # -*- coding: utf-8 -*- import urllib,urllib2,base64,re url = 'http://ctf4.shiyanbar.com/stega/IHDR.png' page = urllib.urlopen(url) html = page.read() fp = open('a','wb') fp.write(html) print html fp.close()