LWP authentication on asp page
I've developed a little perl program using the module LWP to download
italian stock pages, to make real time statistics.
To get these data I need to authenticate on an asp page.
The authentication is made at session level, so I need to authenticate
in the same program in which I download. I've tried many methods
depending on LWP, including authorization_basic, $ua->credentials,
Mechanize, but without result.
For sure there is no policy block by the webserver.
The data are publicly available, after authentication, provided that
they are for personal use only.
So it's only a technical problem. I missed something, but I don't know
Rather than list my failed tries, probably it's better to give to you
the infos to check it.
Login page is http://du.ilsole24ore.com/du/login.aspx
After login, the page I should download is:
My account for testing is: username='yer', password='man'.
You can directly use it, to see if your solution works.
Any help GREATLY, HUGELY appreciated !
Re: LWP authentication on asp page
yerman <email@example.com> wrote:
> To get these data I need to authenticate on an asp page.
> I missed something, but I don't know
Maybe this will reveal what you've missed:
Web Scraping Proxy
> My account for testing is: username='yer', password='man'.
> You can directly use it, to see if your solution works.
I cannot get logged in using those values...
Tad McClellan SGML consulting
firstname.lastname@example.org Perl programming
Fort Worth, Texas
|All times are GMT. The time now is 09:19 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.