WWW-Firecrawl
view release on metacpan or search on metacpan
lib/WWW/Firecrawl.pm view on Meta::CPAN
=over 4
=item * C<< $fc->foo_request(%args) >> â returns an L<HTTP::Request>, no network I/O
=item * C<< $fc->parse_foo_response($http_response) >> â decodes JSON, dies on error, returns the payload
=item * C<< $fc->foo(%args) >> â convenience: builds, fires via L<LWP::UserAgent>, parses
=back
The split makes the module trivial to use with any async framework; see
L<Net::Async::Firecrawl> for the L<IO::Async> integration.
=head1 ERROR HANDLING
All failures throw a L<WWW::Firecrawl::Error> object (stringifies to its
message â so existing C<< die "..." >> / C<$@>-matching code keeps working).
Five error types:
=over 4
( run in 1.063 second using v1.01-cache-2.11-cpan-71847e10f99 )