To: <beginners@perl.org>
Sent: Thursday, February 24, 2005 3:02 PM
Subject: Re: WWW::Mechanize java navigation
use WWW::Mechanize; use Crypt::SSLeay;
my $m_crawl = WWW::Mechanize->new; $m_crawl->get ('http://mymerchantview.net'); $m_crawl->follow_link (n => '1');
print $m_crawl->content;
the above code yields:
501 Protocol scheme 'javascript' is not supported
You have your answer then.. I guess.
From FAQ=WWW::Mechanize;
How can I get WWW::Mechanize to execute this JavaScript?
You can't. JavaScript is entirely client-based, and WWW::Mechanize is a client that doesn't understand JavaScript.
On Thu, Feb 24, 2005 at 02:20:29PM -0600, [EMAIL PROTECTED] wrote:Have you installed Crypt::SSLeay for https:// ? Could you print the header at least with your code?
----- Original Message ----- From: "Peter Rabbitson" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
Sent: Thursday, February 24, 2005 11:45 AM
Subject: WWW::Mechanize java navigation
>Hello list. I had very good luck using the WWW::Mechanize object for
>various
>automated data collectors until I stumbled over
>http://www.mymerchantview.net. As you can imagine the problems begin >when
>I
>do my first ->follow_link after which the script blows with something
>about
>unsupported java. What can I use that would be as functional as
>WWW::Mechanize while at the same time compatible with the site mentioned
>above. It would be more than appreciated if somebody can submit along a
>few
>lines of code showing a "click" on the 'Log In' tab, a "click" on
>'Continue'
>over at the next page and submittal of three types of authentication >info
>on
>the successive screen.
>
>
>Thanks everyone.
>
>Peter
>
>-- >To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
><http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>