473,386 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

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

Similar topics

0
by: Lance | last post by:
I need help with having a Login Form on a website that goes to a member only section, to beable to check my forum database so that when people register, they register on my forum, and at the same...
4
by: Manuel | last post by:
I need to go to another website, login with a username/password and retrieve a page. The problem is that the site keeps track of the user with a session variable + cookies. I've done this in...
0
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application...
3
by: janani | last post by:
How to create an automated email for those who have registered in my website by giving them a username and password and enabling them to change their password after they login... what kind of...
0
by: supern | last post by:
this is my perl script saved as login.pl #!c:/perl/bin/perl.exe $basedir="c:/program files/apache software foundation/apache2.2/cgi-bin"; $datafile="regstr.txt"; $name=$in{'login'};...
1
by: luketongue | last post by:
Hi, I am building a website that allows you to login at any time to access specfic user information etc .. In the past i have always used form authentication to lock down any protected areas and...
2
by: KBuser | last post by:
Looking for somebody to help me for an hour or two (I doubt it will be that long). Basically I can't get the url encoding to work properly in my program, so I need you to write a method which will...
0
by: trihaitran | last post by:
I am trying to write a web scraper and am having trouble accessing pages that require authentication. I am attempting to utilise the mechanize library, but am having difficulties. The site I am...
0
by: John Anthony | last post by:
I am trying to get this application to login in order to gather specific data from within the members area. This is the first time I have done this and I am not sure whats wrong. The site passes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.