Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: www::mechanize executable

by Corion (Pope)
on Oct 19, 2012 at 08:31 UTC ( #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?


Comment on Re^2: www::mechanize executable
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
Node Status?
node history
Node Type: note [id://999880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-09-19 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls