Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: www::mechanize executable

by Corion (Patriarch)
on Oct 19, 2012 at 08:31 UTC ( [id://999880]=note: print w/replies, xml ) Need Help??


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

Have you checked with URLs that need HTTPS?

Replies are listed 'Best First'.
Re^3: www::mechanize executable
by fixon (Initiate) on Oct 19, 2012 at 18:01 UTC

    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' );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-18 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found