Dan Diebolt
12/17/2008 11:24:00 PM
require 'hpricot'
doc=3DHpricot('<a class=3D"link" href=3D"detalle_movie.php?mv_id=3D618">The=
Day the Earth Stood Still</a>')
doc.search("//a").each do |link|
=A0 puts "#{link[:href]}"
=A0 puts "#{link.inner_text}"
end
detalle_movie.php?mv_id=3D618
The Day the Earth Stood Still