Automated Website Login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suruchimathur
    New Member
    • Feb 2007
    • 4

    Automated Website Login

    Hi,
    I need to write a perl script to browse a certain site, login and click on a link.
    The URL for the link changes daily and uses session ID as well but the text remains the same on the HTML page.
    Can anyone let me know which PERL module I could use for this?
  • aspilicious
    New Member
    • Feb 2007
    • 1

    #2
    Automated Website Login

    Hi im quiet new to perl and i haver to make an asignment, and i have a few problems...

    How can you open a webste in perl and login with your usersname and pasword..

    If someone can help me i will be satisfied for the moment :)!

    greetings bram

    Comment

    • miller
      Recognized Expert Top Contributor
      • Oct 2006
      • 1086

      #3
      Use LWP (Stands for Light Weight Parsing). It will enables parsing of and posting to websites. Here's all the links that you could possibly need:

      cpan LWP::Simple (The Module)
      cpan LWP Tutorial
      cpan LWP Cookbook

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        Maybe WWW::Mechanize is what you are looking for.

        Comment

        • miller
          Recognized Expert Top Contributor
          • Oct 2006
          • 1086

          #5
          Someone else apparantly shares your same homework assignment. I will now merge these threads so you can share the responses.

          WWW::Mechanize is a specialized user agent of the LWP::UserAgent module. Read my post in the other thread for all relavent links to LWP related documentation.

          Comment

          Working...