NAME

htmllinks - Filter for links in html source.

DESCRIPTION

Links are things like a href="" and img src="" etc..

USAGE

htmllinks [OPTION].. FILE..

-h          help
-L          no 'link' tags, usually css
-A          no 'a' tags 
-I          no 'img' tags
-O          no 'object' tags   
-S          no 'script' tags
-l          only 'link' tags
-a          only 'a' tags (likely html content)
-i          only 'img' tags   
-o          only 'object' tags
-s          only 'script' tags 
-y          output as YAML

USAGE EXAMPLES

See 'a' links in a website, likely html links to parts of the website: wget http://leocharre.com -O - | htmllinks -a

See links in a html page: htmllinks ./page.html

See all image links in a html page: htmllinks -i ./page.html

SEE ALSO

htmllinks - parent package HTML::LinkExtor HTML::Parser

AUTHOR

Leo Charre leocharre at cpan dot org

COPYRIGHT

Copyright (c) 2010 Leo Charre. All rights reserved.

LICENSE

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".

DISCLAIMER

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the "GNU General Public License" for more details.