Script to obtain dom

I need some help, i want to make a script that extracts the DOM objects from a web page, to get some content.

For example

i have a url

This evening three persons went to visit....

I need to get the content inside that div

Take a look at Hpricot.

thank you very much it works very good!!!