I am wondering what the proper way to go about downloading the image from this RUL would be: http://www.hidemyass.com/proxy-list/img/port/7018246/1
The way I tried downl
Does this work? I believe it should:
public void download(def address) { new File("${address.tokenize('/')[-1]}.png").withOutputStream { out -> out << new URL(address).openStream() } }