On Feb 3, 8:47=A0pm, Tim Mcd <tmcdow... / gmail.com> wrote:
> doc =3D Hpricot(open("http://redhanded.hobix.com/index.html"))
> images =3D (doc/"img")
> count =3D 0
>
> Net::HTTP.start("redhanded.hobix.com") do |http|
> =A0 images.each do |img|
> =A0 =A0 filename =3D img['src'].match(/([^\/]+\..+)/)
> =A0 =A0 resp =3D 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.