Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
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 browsing the Monastery: (12)
As of 2015-09-04 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (138 votes), past polls