NAME

SHARYANTO::HTML::Extract::ImageLinks - Extract image links from HTML document

VERSION

version 0.09

FUNCTIONS

None are exported by default, but they are exportable.

extract_image_links(%args) -> [STATUS_CODE, ERR_MSG, RESULT]

Extract image links from HTML document.

Either specify either url, html.

Returns a 3-element arrayref. STATUS_CODE is 200 on success, or an error code between 3xx-5xx (just like in HTTP). ERR_MSG is a string containing error message, RESULT is the actual result.

Arguments (* denotes required arguments):

  • base => str

    base URL for images.

  • html => str

    HTML document to extract from.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.