From: Lou Vanek Date: 2005-12-07T03:20:18+09:00 Subject: Re: Screen scraping an html text contents into a file you might get away with just using curl: curl www.apple.com > mytextfile or wget, which is capable of acting recursively on an entire site. http://www.delorie.com/gnu/docs/wget/wget_14.html basi wrote: > Hello, > > I'm looking for a screen scraper that will extract text contents off > html pages and save the text into files. I have looked at Mechanize and > Rubyful_Soup, but they are a bit over my head to modify to save just > the text contents to a file. (I'm a researcher trying to use Ruby for > real world text analysis tasks, and trying to learn Ruby at the same > time.) The levels of usage I'd love to have (choosey beggar): > > >>program prompts me for url address to scrape and file name to save texts into, >>or edit program to enter url address and file name > > > Of course a program that, given a url, would walk down the links, open > the pages, and save the text contents to a file would be ... that would > be a commercial product. Is there one? > > Thanks! > basi > > >