hpricot HTML Parsing « Network « Ruby






1.require 'rubygems'
2.Hpricot can work directly with open-uri to load HTML from remote files
3.Using a combination of search methods, search for the list within the HTML and then extract each item
4.Search for the first instance of an element only
5.Using CSS classes to find certain elements