|
CLI access to FEAR::APIDumper information from contentfear -d 'image' google.com # images, links, forms --dump 'image' Dumper ALL information from content fear -a google.com-d 'all' --dump-all Save content to fear.outputfear -o google.com --download Load content from filesystemfear -f 'some.html.file' Xpath contentfear -p '/html/body/*' google.com --xpath Print out contentfear -s google.com --source Specify extraction methodfear -m Regexp::GlobalBind Specify templatefear -t '<a href="[% link %]">[% text %]</a>' Choose dumping module (YAML and Data::Dumper)fear -r YAML Verbose outputfear -v Input perl codefear -e "fetch('google.com')" --execute Force content typefear -y 'text/html' --content-type MIX TOGETHERfear google.com -m Regexp::GlobalBind -p '/html/head' -t 'qr"<meta (?#<fields>.+?) />"' -r YAML Fetch google's homepage Set extraction method to Regexp::GlobalBind Use XPATH to select /html/head subtree Apply template Dump results using YAML COPYRIGHTCopyright (C) 2006 by Yung-chung Lin (a.k.a. xern) <xern@cpan.org>This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself
Visit the GSP FreeBSD Man Page Interface. |