D
doog
I'm a Ruby novice. Does anyone have an example of a simple screen
scraper in Ruby that uses scrAPI (and works on Mac OS X)?
All I need it to do is:
1) Go to a specified web page
2) Use a CSS selector to grab and print out any section of the page
It does not need to find links on the page or crawl.
I tried the eBay example at
http://blog.labnotes.org/2006/07/11/scraping-with-style-scrapi-toolkit-for-ruby/
and have tried the recommended "require" and Tidy.path statements,
but couldn't find a combination that works.
-Doug
scraper in Ruby that uses scrAPI (and works on Mac OS X)?
All I need it to do is:
1) Go to a specified web page
2) Use a CSS selector to grab and print out any section of the page
It does not need to find links on the page or crawl.
I tried the eBay example at
http://blog.labnotes.org/2006/07/11/scraping-with-style-scrapi-toolkit-for-ruby/
and have tried the recommended "require" and Tidy.path statements,
but couldn't find a combination that works.
-Doug