script to visit a page

A

akanksha.baid

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
 
A

Austin Ziegler

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top