Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-04 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls