HTTP::Recorder - record interaction with websites
Version 0.02
Set HTTP::Recorder as the user agent for a proxy, and it rewrites HTTP responses so that additional requests can be recorded.
Set it up like this:
my $proxy = HTTP::Proxy->new; # set HTTP::Recorder as the agent my $agent = HTTP::Recorder->new( file => "/tmp/tmpfile", showwindow => 1); $proxy->agent( $agent ); # you may need to set the host # $proxy->host( "www.example.com" ); $proxy->start();
Then, tell your web browser to use your proxy, and the script will be recorded in the specified file.
If showwindow is set to 1, a popup window will display the current script after each action.
HTTP::Recorder won't record Javascript actions, or pages delivered via SSL.
By default, HTTP::Recorder outputs WWW::Mechanize scripts.
However, you can override HTTP::Recorder::Logger to output other types of scripts.
Creates and returns a new HTTP::Recorder object, referred to as the 'agent'.
See also LWP::UserAgent, WWW::Mechanize, HTTP::Proxy.
Please submit any feature requests, suggestions, bugs, or patches at http://rt.cpan.org/, or email to bug-HTTP-Recorder@rt.cpan.org.
There's a mailing list for users and developers of HTTP::Recorder. You can subscribe at http://lists.fsck.com/mailman/listinfo/http-recorder, or by sending email to http-recorder-request@lists.fsck.com with the subject "subscribe".
The archives can be found at http://lists.fsck.com/pipermail/http-recorder.
Copyright 2003-2004 by Linda Julien <leira@cpan.org>
Released under the GNU Public License.
To install HTTP::Recorder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Recorder
CPAN shell
perl -MCPAN -e shell install HTTP::Recorder
For more information on module installation, please visit the detailed CPAN module installation guide.