View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
brian d foy > HTML-SimpleLinkExtor > linktractor

Download:
HTML-SimpleLinkExtor-1.271.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

linktractor - extract links from HTML

SYNOPSIS ^

        % linktractor fileA.html fileB.html

        % linktractor -f=http://www.perl.com

        % lwp-request http://www.example.com | linktractor

        % lwp-request http://www.example.com | linktractor -b=http://www.example.com

DESCRIPTION ^

This is a small script that uses HTML::SimpleLinkExtractor to pull all the HTML links out of the input HTML. It can take input from files you specify on the command line (or standard input), or fetch a URL.

Options

-b=base

The -b switch sets the base URL to resolve relative URLs in the input.

-f=fetch_url

Instead of reading from files specified on the command line or standard input, fetch this URL and use it as input.

SOURCE AVAILABILITY ^

This module is in Github

        https://github.com/briandfoy/html-simplelinkextor

AUTHORS ^

brian d foy, <bdfoy@cpan.org>

COPYRIGHT ^

Copyright © 2007-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.

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

LICENSE ^

You may use HTML::SimpleLinkExtor under the terms of the Artistic License 2.0.

syntax highlighting: