3 ms·
this might have been easier using hpricot, rubyful soup, scrapi, scrupyt, or something like that.
by michelson01 20y ago
this might have been easier using hpricot, rubyful soup, scrapi, scrupyt, or something like that.
- brett 20y agoYeah. I started with a require 'hpricot' line and then took it out when I realized pg does not put any classes or other identifying attributes in his html. CSS selectors and XPaths with just html elements seem hard to read. "td td u a" does not look so hot to me. Regexs are pretty easy.