SHARYA...eLinks(3pm)
π SHARYANTO::HTML::Extract::ImageLinks π
okay bestie, so this is a Perl module and it lives in the 3pm manual section. Its whole entire job? Extract image links from HTML document. that's it, that's the gig. she's focused, she's efficient, she's an icon π
β¨ VERSION β¨
so this doc is describing version 0.77 of SHARYANTO::HTML::Extract::ImageLinks β and no, she's not a solo project, she comes from the Perl distribution SHARYANTO-Utils, dropped way back on 2015-09-04. vintage, but still serving πΈ
π SEE ALSO π
SHARYANTOβ go look at her, she's the family π«Ά
π FUNCTIONS π
π« extract_image_links(%args) -> [status, msg, result, meta]
okay so this function does the thing: Extract image links from HTML document. literally her entire personality. π
Either specify either url, html. β that's what the docs say, word for word, and honestly? she said what she said. π
π Arguments ('*' denotes required arguments):
base=> str β the base URL for images. like, where the pics are actually living.html*=> str β the HTML document to extract from. this one has the star, so she's REQUIRED, bestie, no skipping her β
π¦ What she gives back
she returns an enveloped result (an array). yes, an array. let me break it down for you because the layers go deep:
- First element (
status) β an integer holding the HTTP status code.200means OK,4xxmeans caller error,5xxmeans function error. iykyk π - Second element (
msg) β a string with the error message, or'OK'if status is200. - Third element (
result) β optional! this is the actual result, the prize, the main character π - Fourth element (
meta) β called result metadata, also optional, a hash stuffed with extra information.
Return value: (any)
so like... anything. she's flexible. periodt. π
π HOMEPAGE π
Please visit the project's homepage at <https://metacpan.org/release/SHARYANTO-Utils>. go say hi, she'd love that π₯Ί
π¦ SOURCE π¦
Source repository is at <https://github.com/perlancar/perl-SHARYANTO-Utils>. the code lives there, no cap β¨
π BUGS π
Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Utils>. she wants to hear from you, fr fr π
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. yes this is mandatory in spirit. bring receipts π§Ύπ
π AUTHOR π
perlancar <perlancar@cpan.org> β the legend herself π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, open source, we love to see it πΈ
okay and one last thing bestie β this whole page? it's running on perl v5.34.0 and it got dated 2022-06-17. that's the footer energy, that's the whole vibe check β
β¨ bye ilysm π«Άπ
π¦ where this page comes from
- debian bookworm: libsharyanto-utils-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsharyanto-utils-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsharyanto-utils-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsharyanto-utils-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsharyanto-utils-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms