On Feb 3, 8:47 ¨Βν¬ ΤιΝγΌτνγδοχ®®®ΐηναιμ®γονχςοτεΊ > doc = Hpricot(open("http://redhanded.hobix.com/index.html")) > images = (doc/"img") > count = 0 > > Net::HTTP.start("redhanded.hobix.com") do |http| > images.each do |img| > filename = img['src'].match(/([^\/]+\..+)/) > resp = http.get("#{img["src"]}") If it's a full URL then you just have to create a uri object: http.get(URI.parse(img['src'])) - Mark.