From: Ronald Fischer Date: 2007-09-13T21:46:40+09:00 Subject: Re: screen scraping programaticprogrammer.com ? > h = Net::HTTP.new("www.programaticprogrammer.com", 80) > response = h.get("/index.html") > > puts response.message > puts response.code > > if response.message == "OK" > puts "*" > puts response.body.scan(/ end > ----- > > and the output was: > > Found > 302 > > > I clicked a link on their home page and tried to access the page that > was displayed, but I got the same result. What am I doing wrong? Wrong URL. How about using www.pragmaticprogrammer.com instead? I think the prOGRamatic programmers are slowly dying out anyway in favour of the pragmatic programmers.... ;-) Ronald -- Ronald Fischer Phone: +49-89-452133-162