HTTP::Recorder - record interaction with websites
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.
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'.
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 firstname.lastname@example.org with the subject "subscribe".
The archives can be found at http://lists.fsck.com/pipermail/http-recorder.
Copyright 2003-2004 by Linda Julien <email@example.com>
Released under the GNU Public License.