From: doog Date: 2006-11-29T11:52:41+09:00 Subject: Re: Simple screen scraper using scrAPI Thanks so much. Parsing a web page is sufficient, and would be a great starting point. -Doug Paul Lutus wrote: > doog wrote: > >> 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. > > Please tell me something. Do you want to: > > 1. Parse a Web page using scrAPI, or > > 2. Parse a Web page. > > If you are more concerned with parsing content from a Web page than using > scrAPI, then I can help you. >