Vikash Kumar wrote: >> require 'net/http' >> >> # read the page data >> >> http = Net::HTTP.new('kvcrpf.org, 80) >> resp, page = http.get('/achievements.htm', nil ) >> >> # BEGIN processing HTML >> > > The code given above can be used to extract values from a web page, I we > don't have to login to a web page, we know in advance which URL to look > for to get data from it, but the problem is to first login to a page, > then go to some desired location to scrap values from it. > > Please help me out in doing this. > Thanks in advance > Vikash There are a few ways of doing this <I am on hurry now to elaborate>, if your are on windows watir[1] can help you out doing the login stuff, may the tricky part is how to get the data, but I am sure there is a method which allows you to extract the hole HTML http://wtr.rubyforge.org/ $rm rm .rb -- Posted via http://www.ruby-forum.com/.