ers, filling in every field by
hand, which gets old real fast when you have to do it repeatedly.
If anyone is looking to automate tasks like this for testing or
whatever else, I whole heartedly recommend WWW::Mechanize. It’s a real time
saver.
Thanks again to Chas for the reply.
Fr
> On Apr 25, 2017, at 10:09 AM, Chas. Owens wrote:
>
> Are you using JavaScript to redirect the user to the sorry page?
Nope. All navigation is handled by perl. Thanks for the link, though.
Frank
Are you using JavaScript to redirect the user to the sorry page? If so
then WWW::Mechanise won't redirect. It doesn't understand JavaScript.
Happily, there are drop in replacements for it that do:
http://search.cpan.org/~oalders/WWW-Mechanize-1.84/lib/WWW/Mechani
used as the sub-template, if not, then sorry.htm is shown with
the error message. This, of course, works as expected when placing an order by
hand.
When placing a successful order with WWW::Mechanize, receipt.htm is
shown correctly in $mech->content(). However, if the order
I’ve written a script using WWW::Mechanize to place test orders in
SurfShop. I wish I had know it could do this before. :\ For some reason, I
was under the impression that it was only good for scraping.
The script works great, but I need to find a way to get the contents of
> On 4Apr2017, at 11:13, SSC_perl wrote:
>
>> On Apr 4, 2017, at 10:59 AM, John SJ Anderson wrote:
>>
>> I’m not sure what was behind the resolution of your problem, but I can
>> assure you I’m typing this on a Macintosh without wget installed, and
>
> On 4Apr2017, at 10:43, SSC_perl wrote:
>
> This is a heads up for anyone wanting to use WWW::Mechanize on OS X.
[snip]
Apple ships ‘curl’ instead of ‘wget’. Always has; not sure why.
‘wget’ is *NOT* required for WWW::Mechanize on MacOS, however. I’m not sure
what was b
> On Apr 4, 2017, at 12:01 PM, John SJ Anderson wrote:
>
> ¯\_(ツ)_/¯
It’s been awhile since ascii art made me laugh. That’s a good one! :)
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Tue, 4 Apr 2017 10:43:27 -0700
SSC_perl wrote:
> This is a heads up for anyone wanting to use WWW::Mechanize on OS X.
>
> I’ve been fighting with WWW::Mechanize all morning, trying to get it
> to work with no success. There were no error messages telling me what
> On Apr 4, 2017, at 10:59 AM, John SJ Anderson wrote:
>
> I’m not sure what was behind the resolution of your problem, but I can assure
> you I’m typing this on a Macintosh without wget installed, and WWW::Mechanize
> works just fine.
Weird. Which OS are you running?
This is a heads up for anyone wanting to use WWW::Mechanize on OS X.
I’ve been fighting with WWW::Mechanize all morning, trying to get it to
work with no success. There were no error messages telling me what was wrong.
I checked my firewall to see if anything was being
hi Gary, hi List,
today i am running opensuse 13.1 -
and i am trying to install mozrepl and perl
BTW - friends told me to avoid all perlbrew tings...
so i did the following
perl -MCPAN -e shell
cpan> install WWW::Mechanize::Firefox
- it failed... see
Parse errors: No plan found in
I've got a Fedora 21 laptop that I'm using to develop a
WWW::Mechanize::Firefox based app which is going well.
I've tried now to replicate this on two servers ready to put it live but I'm
having the same install problems. One is F19, and one is F20. On both
machines I
On Tue, Feb 10, 2015 at 5:10 AM, Gary Stainburn <
gary.stainb...@ringways.co.uk> wrote:
> Hi folks,
>
> I'm porting a WWW::Mechanize based program to WWW::Mechanize::Firefox
> because
> the web site I access is now much more Javascript based and maintenance is
&
Hi folks,
I'm porting a WWW::Mechanize based program to WWW::Mechanize::Firefox because
the web site I access is now much more Javascript based and maintenance is
getting to be a nightmare.
However, I'm struggling on the basics. Yesterday I started off with a very
basic program. I
I’m having trouble with setting a field on a web page.
Here is how I’m attempting to do this:
##
## fourth page
##
ok($mech->form_name('ftp_information'),"getting the ftp_information form");
ok($mech->field('pFTPHostname','dogs'), 'Setting ftp host name to dogs');
ok($mech->field('pFTP
Sent: Tuesday, November 22, 2011 3:43 PM
Subject: using WWW::Mechanize thru proxy to https(SSL) with website/form
authentication, proxy error!!
Here is the prob description in short:
1. post your url in browser: https://myrel/files/file.doc
2. you get a logon page (URL still looking same)
3
are done!!! (saves the file to default location)
here is the script so far:
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
#print "Content-type: text/html\n\n";
my $username = "myid";
my $password = "mypass";
my $outfile = "testout.doc";
$ENV
se errors: Bad plan. You planned 5 tests but ran 4.
> Files=54, Tests=589, 24 wallclock secs ( 0.23 usr 0.04 sys + 7.04
> cusr 0.82 csys = 8.13 CPU)
> Result: FAIL
> Failed 1/54 test programs. 0/589 subtests failed.
> make: *** [test_dynamic] Error 255
> JESSE/WWW-Mechanize-1.68.t
sys = 8.13 CPU)
Result: FAIL
Failed 1/54 test programs. 0/589 subtests failed.
make: *** [test_dynamic] Error 255
JESSE/WWW-Mechanize-1.68.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JESSE/WWW-Mechanize-1.68.tar.gz
Runni
On Tue, 19 Jul 2011 09:57:43 +0200, Agnello George
wrote:
I get the following error when i install WWW::Mechanize via CPAN .
Can some one suggest me how to fix this . thanks
You're running an oldish perl and get what's basically a Unicode error in one
single instance.
Suggest
Hello I think that one approach can be install all the modules marked as
"not installed".
Test::Memory::Cycle is not installed.
Just an idea. Have a very nice day.
2011/7/19 Agnello George
> Hi
>
>
> I get the following error when i install WWW::Mechanize via CPAN .
Hi
I get the following error when i install WWW::Mechanize via CPAN .
Can some one suggest me how to fix this . thanks
===
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib
Richard Lee wrote:
what is wrong w/ below?
I would think this would work but this is spitting out
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
my $url = 'http://10.212.100.1';
#$mech->credentials('user1', 'passwd1');
m
what is wrong w/ below?
I would think this would work but this is spitting out
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
my $url = 'http://10.212.100.1';
#$mech->credentials('user1', 'passwd1');
my $page = $mech->
> >> >> > works fine...
>
> >> >> This happens often enough that it is covered in the FAQ for
> >> >> WWW::Mechanize:
> >> [snip]
> >> > Thanks guys for tries and good link... but I still cannot figure it
> >> > out..
On Nov 18, 2007 11:30 AM, Peter Scott <[EMAIL PROTECTED]> wrote:
>
> Okay, I reproduced this and solved it. First, I verified that I got a
> proper response from Safari. Then I ran tcpdump to compare the request
> sent by Safari with the one sent by Mech. (Regrettably, setting
> LWP::Debug +conn
to data retrieval and
>> > this is the first time such an error occurs... The 400 error code is
>> > about malformed URL's syntax or request header... Any other idea?
>
> #!/usr/bin/perl -w
> use strict;
> use warnings;
> use WWW::Mechanize;
>
> my $mec
an html page with a 400 error code (Bad Request)
> >> > When asking for this page directly from a browser (Firefox or IE) it
> >> > works fine...
>
> >> This happens often enough that it is covered in the FAQ for WWW::Mechanize:
> [snip]
> > Thanks guys for t
g for this page directly from a browser (Firefox or IE) it
>> > works fine...
>>
>> This happens often enough that it is covered in the FAQ for WWW::Mechanize:
[snip]
> Thanks guys for tries and good link... but I still cannot figure it
> out... I tried to debug with use LWP::
fine...
>
> This happens often enough that it is covered in the FAQ for WWW::Mechanize:
>
>http://search.cpan.org/~petdance/WWW-Mechanize-1.32/lib/WWW/Mechanize...
>
> Hope this helps!
>
> --Tom Phoenix
> Stonehenge Perl Training
Thanks guys for tries and good link... b
On 11/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I get an html page with a 400 error code (Bad Request)
> When asking for this page directly from a browser (Firefox or IE) it
> works fine...
This happens often enough that it is covered in the FAQ for WWW::Mechan
On Nov 16, 2007 6:28 AM, <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> I get an html page with a 400 error code (Bad Request) when running
> the following code:
>
> #!/usr/bin/perl -w
> use strict;
> use warnings;
> use WWW::Mechanize;
>
> my $mech = WWW::Me
Hi everyone
I get an html page with a 400 error code (Bad Request) when running
the following code:
#!/usr/bin/perl -w
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new( agent => 'Mozilla 2.0.0.9' );
$mech->get('http://www.aeroporto.fvg
Assuming what you are really looking for from this is the page returned by
the search, then you need to move the line:
print $mechObject -> content;
to the end.
-Dan
---
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
my $queryStr
newBee wrote:
Hi after going over the FAQ and the examples I decided to write a
small script to understand the WWW::Mechanize module. Since Google has
one field and two buttons I thought this would be a straight forward
one. So I wrote the fallowing script. At the end of the script I
thought the
Hi after going over the FAQ and the examples I decided to write a
small script to understand the WWW::Mechanize module. Since Google has
one field and two buttons I thought this would be a straight forward
one. So I wrote the fallowing script. At the end of the script I
thought the script will
most recent content from the $mech user agent.
That is:
my $content = $mech->content();
rather than
my $content = get $url;
To put it more simply, you did something like this:
my $x = 5;
my $y = fctn($x);
$x = 5;
and then were shocked when $x equaled five. It's $y that you did
somethin
t; > sure if this is causing the issue?
>
> Causing *what* issue?! You haven't said what's wrong with your script
> at all. You've not said what it does that you don't want it to do, or
> what it does do that you don't want it to.
>
> What language is
I'm with Paul. The code looks right and no "issue" was defined.
However, this line might be "wrong":
my $content = get $url;
A line I often use in my Mechanize using scripts is:
my $content = $mech->response()->decoded_content()
Truth be told, I'm not familar with the 'get' function (is that the m
ith your script
at all. You've not said what it does that you don't want it to do, or
what it does do that you don't want it to.
What language is generated by the website in question is wholly
irrelevant. WWW::Mechanize is just a browser. It cares no more about
how the pa
uot; in this example).
It seems that the servers webpages are generated in PHP so I'm not
sure if this is causing the issue?
I would be appreicate some advice.
Thanks in advance.
---
#!c:\\perl\\bin
use strict;
use WWW::Mechanize;
use HTTP::Cookies;
#use LWP::Debug qw(+);
use LWP::Simple;
u
On Jul 9, 11:35 am, [EMAIL PROTECTED] (Scbauer) wrote:
> Im currently trying to get all the options with in a Select> selected using WWW::Mechanize with no luck. Any ideas?
You want the possible_values() method of the form in question.
Observe:
$ cat select.html
Sample file
Im currently trying to get all the options with in a selected using WWW::Mechanize with no luck. Any ideas?
#!/usr/bin/perl
use strict;
use WWW::Mechanize;
use Time::Local;
use POSIX 'strftime';
my($url) = 'url';
my($pageCheck) = "";
my($form) = HTML:Form-&
gt; wrote:
>
> > I have been trying to set some hidden form fields with
> > WWW::Mechanize, but I get error that they are read only.
>
> Have you seen this entry in the FAQ?
>
> Why do I get "Input 'fieldname' is readonly"?
>
> You'
On 6/23/07, skywriter14 <[EMAIL PROTECTED]> wrote:
I have been trying to set some hidden form fields with
WWW::Mechanize, but I get error that they are read only.
Have you seen this entry in the FAQ?
Why do I get "Input 'fieldname' is readonly"?
You're
Hello,
I have been trying to set some hidden form fields with WWW::Mechanize,
but I get error that they are read only.
Is it a cannot-be-done case for all hidden input form fields? Does
anyone has some tips for me?
These fields are some times hidden, sometimes visible textfields.
Right now I am
Hi folks,
I'm installing the missing dependencies onto a FC5 system to enable me to
install RT3, but there's one module I can't install - Test::WWW::Mechanize
From the output below can anyone see what my problem is.
Ta
cpan> install Test::WWW::Mechanize
CPAN: Storable loade
ect() function of WWW::Mechanize should do the job.
This is the code I use:
use WWW::Mechanize;
use HTTP::Cookies;
my $mech = WWW::Mechanize->new(agent => "WWW");
$mech->cookie_jar(HTTP::Cookies->new);
my $url = "http://www.immobilienscout24.de/";;
$mech->get($ur
On Fri, 30 Mar 2007 20:45:43 +0100, Rob Dixon wrote:
> Jason Roth wrote:
>>
>> I'm using www::mechanize to submit a form to a website, and one of
>> the fields is disabled (and enabled by javascript on the page which
>> obviously isn't running). When I try to
On 03/30/2007 01:20 PM, Jason Roth wrote:
I'm using www::mechanize to submit a form to a website, and one of the
fields is disabled (and enabled by javascript on the page which
obviously isn't running). When I try to set a value for this field I
get a "no such field" er
Jason Roth wrote:
I'm using www::mechanize to submit a form to a website, and one of
the fields is disabled (and enabled by javascript on the page which
obviously isn't running). When I try to set a value for this field I
get a "no such field" error. How to I set a v
I'm using www::mechanize to submit a form to a website, and one of the
fields is disabled (and enabled by javascript on the page which
obviously isn't running). When I try to set a value for this field I
get a "no such field" error. How to I set a value for, and enable,
Dear Users...
I want to install WWW::Mechanize::Shell on a actual debian-testing linux-box.
Perl seems to normaly installed.
But, I have errors during the install-process and don't know how to solve it
btw. what the problem is... (please see at the end of this messages).
Thanks for any hel
Rob Dixon wrote:
> Mathew Snyder wrote:
>> With all the help I've received I've been able to get this working.
>> This is my
>> text:
>> #!/usr/bin/perl
>>
>> use warnings;
>> use strict;
>> use WWW::Mechanize;
>> use HTML::Tok
Dear Users...
I want to install WWW::Mechanize::Shell on a debian-testing linux-box.
But, I have errors during the process and don't know how to solve it
btw. what the problem is...
Thanks for any help and ideas...
Greetings Raphael
#> perl -MCPAN -e 'install WWW::Mechanize::
Rob Dixon wrote:
> Mathew Snyder wrote:
>> With all the help I've received I've been able to get this working.
>> This is my
>> text:
>> #!/usr/bin/perl
>>
>> use warnings;
>> use strict;
>> use WWW::Mechanize;
>> use HTML::Tok
Mathew Snyder wrote:
With all the help I've received I've been able to get this working. This is my
text:
#!/usr/bin/perl
use warnings;
use strict;
use WWW::Mechanize;
use HTML::TokeParser;
my $username = 'msnyder';
my $password = 'xxx';
my $status = '
With all the help I've received I've been able to get this working. This is my
text:
#!/usr/bin/perl
use warnings;
use strict;
use WWW::Mechanize;
use HTML::TokeParser;
my $username = 'msnyder';
my $password = 'xxx';
my $status = 'open';
my $ag
re why the 'O' in either of
> the
> fields above is different but I made sure they are the same in the code.
>
> It seems like it isn't getting past the login screen for the page I'm trying
> to
> access. There's only one form on it with a two fields
re the same in the code.
It seems like it isn't getting past the login screen for the page I'm trying to
access. There's only one form on it with a two fields, one called 'user' and
the other 'pass' and a submit button. If I just run this
#!/usr/bin/perl
Well hot-damn! Ain't that sumthin? I'm going to design a keyboard that
puts the zero next to the one.
If we don't protect freedom of speech, how will we know who the assholes
are?
http://theillien.blogspot.com
Tom Phoenix wrote:
> On 11/28/06, Mathew Snyder <[EMAIL PROTECTED]> wrote:
>
>> I ha
On 11/28/06, Mathew Snyder <[EMAIL PROTECTED]> wrote:
I have a form I'm trying to fill out. One of the fields, despite being named in
the HTML source keeps erroring out on me.
fields => {
"ValueOfStatus" => $status,
"Value0fActor" => $username,
Mathew Snyder wrote:
I have a form I'm trying to fill out. One of the fields, despite being named
in the HTML source keeps erroring out on me.
The HTML source:
-
Nobody
...
The perl code:
...
$agent->submit_form(
form_number => '3',
fields => {
"ValueOfStatus"
I have a form I'm trying to fill out. One of the fields, despite being named in
the HTML source keeps erroring out on me.
The HTML source:
-
Nobody
...
The perl code:
...
$agent->submit_form(
form_number => '3',
fields => {
"ValueOfStatus" => $status,
I am trying to create a script that will go out to dells website and
pull warenty information for our dell computers. Has anyone worked with
WWW::Mechanize? Any help would be appreciated.
Here is the script that I am trying to get working.
use strict;
use WWW::Mechanize;
my $url =
"
Hi All,
I'm trying to automate a test case where from a site map page,
I need to get all the links and verify that clicking on the links is
successful, for each link.
Here's the code I've written and it works well, ( below is the relevant
part of the code ( I have used strict, warn))
==
hem. Perhaps you want to turn these POSTs into
GETs
RLS> instead, if you know that they are requests that do not change the state of
RLS> the server, and then you can use a lower level solution like HTTP::Cache to
RLS> transparently cache the requests for WWW::Mechanize to use.
RLS>
Perhaps you want to turn these POSTs into GETs
instead, if you know that they are requests that do not change the state of
the server, and then you can use a lower level solution like HTTP::Cache to
transparently cache the requests for WWW::Mechanize to use.
Otherwise, I can't understa
Hi all there,
I'd like to use %subj% with caching options. I know how to use
Cache::File; or WWW::Mechanize::Cached.
Problem comes, when I want to cache webpage with forms (POST).
I decide not to use WWW::Mechanize::Cached, because it uses as key
given URL (as I decoded that from source
On 1/15/06, Ankur Gupta <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a very simple WWW::Mechanize perl program which does the following
> task.
> 1. Gets the login URL.
> 2. Enters username and password.
> 3. Get another URL.
> 4. Fill some fields of date range and
Hi,
I have a very simple WWW::Mechanize perl program which does the following task.
1. Gets the login URL.
2. Enters username and password.
3. Get another URL.
4. Fill some fields of date range and submit.
5. Parse the content and create a report.
It used to work until the web designer changed
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 1:41 AM
To: beginners@perl.org
Subject: RE: WWW::Mechanize, save images from a page
>>> Ok perhaps it was towards flippant of me to ask about regard to domain
reputation.
- Original Message -
From: Dhanashri Bhate <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
Sent: Thu, 22 Dec 2005 13:24
Subject: Fwd: RE: WWW::Mechanize, save images from a page
Well,
All I have to say is that my basic understanding of perl language and how to
download a link
Anyway, about downloading a link, all I had done earlier is use
WWW::Mechanize, get($url) and then use function save_content to save it in a
file, which works very well.
I had used it earlier to get a ZIP file, the file was downloaded but could
not be opened. That was the time when someone on this
much help in order for you to be helped here. Contract yourself a
tutor or learn more as I mentioned earlier and then come back here once that has
happened.
It appears that this is liable to end up as one of them: "ploink" ??. We'll see.
--
Alan.
Msg sent via CWNet - htt
:)
===
#!/usr/local/bin/perl -w
use strict;
use diagnostics;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->quiet(0);#turn on warnings
my $host = "abc.xyz.com";
my $url = "http://$host/em";;
$mech->get($url);
my $imageref = $mech
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 11:33 PM
To: beginners@perl.org
Subject: re: WWW::Mechanize, save images from a page
(I had tried to reply via nntp news which didn't work. I just now
subscribed to
the emailing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 11:33 PM
To: beginners@perl.org
Subject: re: WWW::Mechanize, save images from a page
(I had tried to reply via nntp news which didn't work. I just now
subscribed to
the emailing
;url ;
DB> my $imagebase = $imageref->base ;
DB> $url = "$imagebase/$imageurl";
DB> print "Getting url $url\n";
DB> $mech->get($url);
DB>
>>>you dont need to do this - read:
>>>http://search.cpan.org/~petdance/WWW-Mechanize->&g
On Tue, 20 Dec 2005 23:33:15 +, mtbr1221 wrote:
> But in looking at the doc:
>
>
> $mech->find_image()
>
> Finds an image in the current page. It returns a WWW::Mechanize::Image
> object which describes the image. If it fails to find an image it returns
> undef.
>
> But do not understand how I can save that image in a file.
I didn't know how to do it. But in looking at the doc:
$mech->find_image()
Finds an image in the current page. It returns a WWW::Mechanize::Image
object which describes the image. If it fails to find an image it
returns
ot;;
DB> $mech->get($url);
you dont need to do this - read:
http://search.cpan.org/~petdance/WWW-Mechanize-1.16/lib/WWW/Mechanize/Link.pm
DB> WWW::Mechanize::Image=HASH(0x850cb48)
DB> Getting url
DB> http://osqa12.mirapoint.com/em//images/eui/gen_login_logo.gif
you should check for success, if it
DB> I am currently automating some UI tests with the help of WWW::Mechanize
DB> module.
DB> I need to save images on a webpage.
DB> print "Found the image, reference is : $imageref\n";
>>>>if you have URL in $imageref, what is problem with saving ?
&
Dhanashri Bhate would like to recall the message, "WWW::Mechanize, save
images from a page".
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
DB> I am currently automating some UI tests with the help of WWW::Mechanize
DB> module.
DB> I need to save images on a webpage.
DB> print "Found the image, reference is : $imageref\n";
>>>>if you have URL in $imageref, what is problem with saving ?
&
Dhanashri Bhate [DB], on Tuesday, December 20, 2005 at 16:51 (+0530)
thinks about:
DB> I am currently automating some UI tests with the help of WWW::Mechanize
DB> module.
DB> I need to save images on a webpage.
DB> print "Found the image, reference is : $imageref\n"
Hi All,
I am currently automating some UI tests with the help of WWW::Mechanize
module.
I need to save images on a webpage.
I tried using the find_image function to get the reference of the image ( as
shown in the script below ).
But do not understand how I can save that image in a file
Ing. Branislav Gerzo [IBG], on Monday, November 07, 2005 at 13:27
(+0100) has on mind:
IBG> use IO::Socket::SSL; #it is installed
when I delete ^^ this one, and write:
use Crypt::SSLeay;
everything works. strange :)
--
How do you protect mail on web? I use http://www.2pu.net
[Brains aren't e
Hi all,
i have a little problem, I use my favourite WWW::Mechanize to download
webpages and so on, but I came to one problem:
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
use IO::Socket::SSL; #it is installed
my $mech = WWW::Mechanize->new();
$mech->agent_alias( 'W
hine, my
program is on Windows(Active Perl 5.8.7)
#!/usr/bin/perl -w
use strict;
use WWW::Mechanize;
my $login= "administrator";
my $password = "admin";
m
On Thu, Feb 24, 2005 at 12:45:01PM -0500, Peter Rabbitson wrote:
> 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
>
Quoting Peter Rabbitson <[EMAIL PROTECTED]>:
>
> Whereas my original question was:
>
> What can I use that would be as functional as WWW::Mechanize while at the
> same time compatible with the site mentioned above.
>
> --
I'd be interested in an answer to this
On Thu, 24 Feb 2005, Peter Rabbitson wrote:
> What can I use that would be as functional as WWW::Mechanize while at
> the same time [Javascript aware].
To do this properly, you need to have a proper Javascript engine. I'm
not aware of any Javascript hooks for Perl, but then, all
"Peter Rabbitson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote:
>
>
> <---snip whole bunch of misunderstaning--->
>
> > You have your answer then.. I guess.
- Original Message -
From: "Peter Rabbitson" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 24, 2005 3:45 PM
Subject: Re: WWW::Mechanize java navigation
On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote:
<---snip whole bunch of misunderstanin
- Original Message -
From: "Peter Rabbitson" <[EMAIL PROTECTED]>
To:
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://mym
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:
Sent: Thursday, February 24, 2005 11:45 AM
Subject: WWW::Mechanize java navigation
Hello list. I ha
On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote:
<---snip whole bunch of misunderstaning--->
> You have your answer then.. I guess.
> >From FAQ=WWW::Mechanize;
>
> How can I get WWW::Mechanize to execute this JavaScript?
> You can't. JavaSc
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 su
1 - 100 of 122 matches
Mail list logo