HTTP::Recorder - record interaction with websites


NAME

HTTP::Recorder - record interaction with websites


VERSION

Version 0.02


SYNOPSIS

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.

Javascript & SSL

HTTP::Recorder won't record Javascript actions, or pages delivered via SSL.

Script output

By default, the HTTP::Recorder manpage outputs the WWW::Mechanize manpage scripts.

However, you can override HTTP::Recorder::Logger to output other types of scripts.


Functions

new

Creates and returns a new the HTTP::Recorder manpage object, referred to as the 'agent'.


See Also

See also the LWP::UserAgent manpage, the WWW::Mechanize manpage, the HTTP::Proxy manpage.


Requests & Bugs

Please submit any feature requests, suggestions, bugs, or patches at http://rt.cpan.org/, or email to bug-HTTP-Recorder@rt.cpan.org.


Mailing List

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.


Author

Copyright 2003-2004 by Linda Julien <leira@cpan.org>

Released under the GNU Public License.

 HTTP::Recorder - record interaction with websites