script to visit a page

Discussion in 'Ruby' started by akanksha.baid@gmail.com, Jul 7, 2006.

  1. Guest

    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
     
    , Jul 7, 2006
    #1
    1. Advertising

  2. Kenosis Guest

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

    Ken

    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
     
    Kenosis, Jul 7, 2006
    #2
    1. Advertising

  3. On 7/7/06, <> 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
    --
    Austin Ziegler * * http://www.halostatue.ca/
    * * http://www.halostatue.ca/feed/
    *
     
    Austin Ziegler, Jul 7, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. xerj
    Replies:
    4
    Views:
    351
  2. aurora

    Go visit Xah Lee's home page

    aurora, Feb 1, 2005, in forum: Python
    Replies:
    3
    Views:
    341
    Daniel Bickett
    Feb 2, 2005
  3. Nitin Verma
    Replies:
    1
    Views:
    314
    Patrick.O.Ige
    Aug 8, 2006
  4. K.
    Replies:
    4
    Views:
    372
  5. ross
    Replies:
    1
    Views:
    130
Loading...

Share This Page