WWW::Search::Metacrawler - class for searching Metacrawler
use WWW::Search; my $oSearch = new WWW::Search('Metacrawler'); my $sQuery = WWW::Search::escape_query("+sushi restaurant +Columbus Ohio"); $oSearch->native_query($sQuery); while (my $oResult = $oSearch->next_result()) { print $oResult->url, "\n"; }
This class is a Metacrawler specialization of WWW::Search. It handles making and interpreting Metacrawler searches http://www.metacrawler.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
To make new back-ends, see WWW::Search.
Please tell the author if you find any!
This module adheres to the WWW::Search test suite mechanism. See $TEST_CASES below.
WWW::Search
As of 1998-02-02, WWW::Search::Metacrawler is maintained by Martin Thurn (MartinThurn@iname.com).
WWW::Search::Metacrawler
WWW::Search::Metacrawler was originally written by Wm. L. Scheding, based on WWW::Search::AltaVista.
WWW::Search::AltaVista
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
If it''s not listed here, then it wasn''t a meaningful nor released revision.
Code cleanup, no change in functionality.
Metacrawler changed their search script location and output format on 1998-05-21. Also, as many as 6 fields of each SearchResult are now filled in.
Fixed the maximum_to_retrieve off-by-one problem. Updated test cases.
Metacrawler does not do truncation. Therefore, if the query contains truncation characters (i.e. '*' at end of words), they are simply deleted before the query is sent to Metacrawler.
Fixed and revamped by Martin Thurn. Sent to John Heidemann (maintainer of WWW::Search) on 1998-02-05 for inclusion in the next release of WWW::Search.
To install WWW::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search
CPAN shell
perl -MCPAN -e shell install WWW::Search
For more information on module installation, please visit the detailed CPAN module installation guide.