From: Mark Thomas Date: 2009-02-04T11:24:44+09:00 Subject: Re: Net/HTTP get On Feb 3, 8:47 pm, Tim Mcd wrote: > 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.