NAME

HTML::Scrape - The great new HTML::Scrape!

VERSION

Version 0.2.0

SYNOPSIS

Handy helpers for common HTML scraping tasks.

use HTML::Scrape;

my $ids = HTML::Scrape::scrape_all_ids( $html );

FUNCTIONS

scrape_id( $id, $html )

Scrapes the text of the single ID $id from $html.

scrape_all_ids( $html [, $specific_id ] )

Parses the entire web page and returns all the text in a hashref keyed on ID.

If you pass in $specific_id, then only that ID will be scraped, and parsing will stop once it is found. The better way to do this is by calling scrape_id.

AUTHOR

Andy Lester, <andy at petdance.com>

BUGS

Please report any bugs or feature requests at https://github.com/petdance/html-scrape/issues..

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc HTML::Scrape

You can also look for information at:

LICENSE AND COPYRIGHT

This software is Copyright (c) 2023 by Andy Lester.

This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)