471,892 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,892 software developers and data experts.

Automated Website Login

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?
Feb 23 '07 #1
4 9123
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
Feb 23 '07 #2
1,089 Expert 1GB
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
Feb 23 '07 #3
4,059 Expert 2GB
Maybe WWW::Mechanize is what you are looking for.
Feb 23 '07 #4
1,089 Expert 1GB
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.
Feb 23 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Manuel | last post: by
3 posts views Thread by janani | last post: by
1 post views Thread by luketongue | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.