Ask a Question related to PERL Beginners, Design and Development.
-
Raghupathy #1
authenticate module
Hi,
I like to use WWW::Mechanize to scrape a website.
However the website has a authentication page. Is
there a perl module I can use to perform the
authentication ?
Thanks,
Raghu
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[url]http://sitebuilder.yahoo.com[/url]
Raghupathy Guest
-
CF to authenticate against Linux HTACCESS
I have a page that we want to link to other webservers. Some of these webservers (Linux) have implemented security via HTACCESS. We have the... -
Use CF to authenticate against HTACCESS
I have a page that we want to link to other webservers. Some of these webservers (Linux) have implemented security via HTACCESS. We have the... -
authenticate except one page
i use form based authenticatiżon. But in my project only one file must use anonymous access. how can i do that? thanks bg -
Authenticate with a webservice
I know how to authenticate to a webservice using either of these ways(Assuming that rService represents the webservice): 1) rService.Credentials... -
How to authenticate HttpWebRequest?
Hi, i have a protected part of application ("security" subdirectory is protected by authentication mode="Forms"). i'd like to give a user a... -
R. Joseph Newton #2
Re: authenticate module
Raghupathy wrote:
Do you have the authors permission to scrape? It is possible that> Hi,
>
> I like to use WWW::Mechanize to scrape a website.
> However the website has a authentication page. Is
> there a perl module I can use to perform the
> authentication ?
>
> Thanks,
> Raghu
they want to make their material accesible only to those who care
enough to visit in person.
Joseph
R. Joseph Newton Guest
-
Rob Hanson #3
RE: authenticate module
No extra module is needed. WWW::Mechanize is a subclass of LWP::UserAgent,
which supports it.
my $ua = new WWW::Mechanize();
$ua->credentials('www.myhostname.com:80', 'RealmName', 'user', 'pass');
$ua->get('http://www.myhostname.com');
print $ua->content;
The params are host/port, realm, username, password.
The realm should be visible in the login box (in IE6 it is).
See LWP::UserAgent for more info... although it doesn't say much about that
function.
Rob
-----Original Message-----
From: Raghupathy [mailto:rr_raghupathy@yahoo.com]
Sent: Monday, September 08, 2003 5:44 PM
To: [email]beginners@perl.org[/email]
Subject: authenticate module
Hi,
I like to use WWW::Mechanize to scrape a website.
However the website has a authentication page. Is
there a perl module I can use to perform the
authentication ?
Thanks,
Raghu
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[url]http://sitebuilder.yahoo.com[/url]
--
To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
For additional commands, e-mail: [email]beginners-help@perl.org[/email]
Rob Hanson Guest
-
Raghupathy #4
RE: authenticate module
Thanks Rob...
Joseph,
I am trying to scrape a website for which I have
paid to look at the data. However since it is
currently time consuming, I like to parse the data
using perl to present it in a condensed form for my
personal use. None of the data will be published and
so I assume I do not need the owner permission to do
so.
Thanks,
Ramesh
--- "Hanson, Rob" <rhanson@aptegrity.com> wrote:[email]beginners-help@perl.org[/email]> No extra module is needed. WWW::Mechanize is a
> subclass of LWP::UserAgent,
> which supports it.
>
> my $ua = new WWW::Mechanize();
>
> $ua->credentials('www.myhostname.com:80',
> 'RealmName', 'user', 'pass');
> $ua->get('http://www.myhostname.com');
> print $ua->content;
>
> The params are host/port, realm, username, password.
>
> The realm should be visible in the login box (in IE6
> it is).
>
> See LWP::UserAgent for more info... although it
> doesn't say much about that
> function.
>
> Rob
>
>
> -----Original Message-----
> From: Raghupathy [mailto:rr_raghupathy@yahoo.com]
> Sent: Monday, September 08, 2003 5:44 PM
> To: [email]beginners@perl.org[/email]
> Subject: authenticate module
>
>
> Hi,
>
> I like to use WWW::Mechanize to scrape a website.
> However the website has a authentication page. Is
> there a perl module I can use to perform the
> authentication ?
>
> Thanks,
> Raghu
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> [url]http://sitebuilder.yahoo.com[/url]
>
> --
> To unsubscribe, e-mail:
> [email]beginners-unsubscribe@perl.org[/email]
> For additional commands, e-mail:
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[url]http://sitebuilder.yahoo.com[/url]
Raghupathy Guest



Reply With Quote

