Page Scrapping with sessions

Discussion in 'Ruby' started by Deepanshu, Feb 12, 2008.

  1. Deepanshu

    Deepanshu Guest

    Hi Members of Ruby Group
    I have recently entered the beautiful world of Ruby and it is really
    wonderful language to learn (still learning though)

    I need some help on a topic as to how can i screen scrap a web page
    which requires authentication(login name and password ) . After that
    the page is forwarded to a new aspx page for which the screen scraping
    is to be done.
    How to maintain sessions on the same request and how to set cookies if
    any exists for the page. I tried finding answers on the group but i
    found a very old thread which also looked in the problem but not
    taking WEB2.0 perspective the thread link is

    http://groups.google.com/group/comp...n+scraping+after+login+page+#f8a84cc942ca4f97

    Any help in the regard will be beneficial

    Thanks
     
    Deepanshu, Feb 12, 2008
    #1
    1. Advertisements

  2. Deepanshu

    7stud -- Guest

    Mechanize does it automatically for you.
     
    7stud --, Feb 12, 2008
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.