Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: www::mechanize executable

by fixon (Initiate)
on Oct 19, 2012 at 18:01 UTC ( #1000004=note: print w/ replies, xml ) Need Help??


in reply to Re^2: www::mechanize executable
in thread www::mechanize executable

Hello Corion, Yes I have noticed that the problem is only related to sites that have authentification. So for example hotmail.com (https://hotmail.com) will not work either. What I can't understand is that the script works fine whichever site I choose to parse.

But when I package the script it only works with none secured websites. For example www.google.com will get parsed by the packaged script (.exe) I debugged and the process stops exactly when I call the https site i.e. at line:

# Connect to the login page my $response = $bot->get( 'https://anyURLwithCredentials.com' );


Comment on Re^3: www::mechanize executable
Download Code
Re^4: www::mechanize executable
by Corion (Pope) on Oct 19, 2012 at 23:19 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-11-24 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (137 votes), past polls