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

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

···

On 7/7/06, akanksha.baid@gmail.com <akanksha.baid@gmail.com> 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.

--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca

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

Ken

···

akanksha.baid@gmail.com 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.
Thanks!
-A