Question about parsing URL in Ruby

Hello. By means of Ruby it is possible to make the following:

  1. Parser comes on page where there are links to matches of Barcelona
    command http://www.acb.com/partclub.php?cod_equipo=BAR
  2. Further Parser comes on hyperlinks into statistics of each match
    separately and takes there the necessary information. For example
    http://www.acb.com/fichas/LACB54007.php
  3. The program saves the taken information in a database.

Hi.

You can do it by mechanize/hpricot or scrubyt.
It’s not difficult.

And somebody can explain more in detail… Or to carry out my task for
reward =)