http://qs321.pair.com?node_id=540342


in reply to Re^3: HTTP::Recorder Problem
in thread HTTP::Recorder Problem

how come that some other website's log-in information would no t be recorded in the HTTP::Recorder Control Panel? like mail.yahoo.com..and some other website's links would not be recorded like..https:/www.math.gatech.edu/ do i need to modify the recorder.pl? thanks

Replies are listed 'Best First'.
Re^5: HTTP::Recorder Problem
by planetscape (Chancellor) on Mar 31, 2006 at 07:09 UTC

    Well, I don't know about https:/www.math.gatech.edu/, but I do have a Yahoo mail account I tested it on.

    While there are instructions here on "Recording SSL sessions" using HTTP::Recorder, I was unable to successfully record anything useful when accessing http://mail.yahoo.com.

    My proxy script:

    #!/usr/bin/perl # myHTTPProxy.pl # Run script under Cygwin; use Netscape for browser # Goto Tools | Options... | General | Connection Settings... # Check "Manual proxy configuration" # HTTP Proxy = localhost # Port = 8080 # Click "OK" # # Also, see Perl Testing: A Developer's Notebook, pp. 135-138 # use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder( showwindow => 1 ); # set the log file (optional) $agent->file("/tmp/myfile"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;

    complains of the following:

    Can't locate object method "host" via package "URI::_generic" at /usr/ +lib/perl5/site_perl/5.8/HTTP/Recorder.pm line 191.

    which has not been remedied by upgrading URI::_generic.

    So, I'd have to say your best bet is either to contact HTTP::Recorder's author, leira, or hope some other Monk comes along who knows the answer.

    Sorry I can't be of further help, although if I do find something in future, I'll return and update this node.

    HTH,

    planetscape