From: Chad Layton Date: 2005-12-26T07:52:52+09:00 Subject: Using an existing session to grab a page I'm rather new to both web programming and ruby so forgive me if my question is ill formed. I'm trying to do some screen scraping on a website that requires a login . What I would like to have happen is for the user to login to the website normally, then run my script which uses the existing login session to grab the page and do whatever to it. To illustrate my problem: If I use Net::HTTP.get_response(URI.parse("http://foo.bar/baz.php")).body, then it serves up the index asking for a login. How do I get contents of baz.php?