Hello!
I need to write a scraper using Hpricot, and unfortunately the forum I’m
trying to scrape is…odd. So this is what it looks like:
Just a quick simple question by John D. on Jun 16, 2011 at 6:41:11 pm |
Re: Just a quick simple question
by John D. on Jun 16, 2011 at 6:41:11 pm |
Re: Just a quick simple question
by John D. on Jun 16, 2011 at 6:41:11 pm |
So I need grab each “a[@name]” and “table[@class]” pair. So is it
possible to do a search using a range of elements…something like
doc.search(“a[@name]…table[@class]”).each do |post| puts “HELP ME
PLEASE!” end
?