Perl: the Markov chain saw | |
PerlMonks |
login to a secure web site via JavaScriptby wmfs (Acolyte) |
on May 15, 2019 at 10:44 UTC ( [id://11100011]=perlquestion: print w/replies, xml ) | Need Help?? |
wmfs has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to login to a secure web site via JavaScript with Perl?
As a subscriber to The New Yorker, I have access to their archive of all back issues. In order to access them I click a Login button, which evokes a JaveScript (javascript:RVViewers[0].subscription.doShowLoginPanel ?) which display a new window to accept my username/passsword. I had hoped that by logging in via Safari on my Macbook Pro, I could 'piggy-back' that session in a Perl script to download all pages of given issue:
Unfortunately, after the first two pages (which appear to be available even without a subscription), I face the dreaded "403 Forbidden" message. Any help would be very welcome. Thank you, Bill Seabrook
Back to
Seekers of Perl Wisdom
|
|