GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LINKTRACTOR(1) User Contributed Perl Documentation LINKTRACTOR(1)

linktractor - extract links from HTML

        % 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

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.

-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.

brian d foy, "<bdfoy@cpan.org>"

Maintained by Nigel Horne, "<njh at bandsman.co.uk>"

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.

You may use HTML::SimpleLinkExtor under the terms of the Artistic License 2.0.
2020-11-13 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.