3 ms·
Hpricot for Ruby is great. For instance, parsing a Google search results page: (doc/"a.l").each do |link| label = link.inner_text
by asher 17y ago
Hpricot for Ruby is great.
For instance, parsing a Google search results page:
(doc/"a.l").each do |link|
label = link.inner_text
href = link.attributes['href']
...