Script to visit a page

I am pretty new to scripting in general and ruby and rails in
particular. I need to visit a list of URLs and grep for a certain word
on those pages. How would I go about doing this in Ruby? Would
appreciate some pointers.
Thanks!
-A

On 7/7/06, [email protected] [email protected] wrote:

I am pretty new to scripting in general and ruby and rails in
particular. I need to visit a list of URLs and grep for a certain word
on those pages. How would I go about doing this in Ruby? Would
appreciate some pointers.

There are examples of how to do this in the pickaxe. Google for
“open-uri” and/or “Ruby Net::HTTP” for examples. It’s basic stuff.

-austin

Search this group: there have been several treatments of this question.

Ken