WWW::Search::Lycos - class for searching Lycos
use WWW::Search; my $oSearch = new WWW::Search('Lycos'); 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 Lycos specialization of WWW::Search. It handles making and interpreting Lycos-site searches http://www.Lycos.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
WWW::Search::Lycos returns results only from www.lycos.com's "Web Pages"; results from "Categories", "Web Sites", and "News & Media" are ignored. If you want to get results from www.lycos.com's categorized "Web Sites", use Lycos::Sites instead.
The default search mode is "any" of the query terms. If you want to search for "ALL" of the query terms, add {'matchmode' => 'and'} as the second argument to native_query(). More advanced query modes can be added upon request; please contact the author.
www.lycos.com is pretty slow to respond; but I have not had a problem with the default timeout.
www.lycos.com does not give the score, date, nor size of the pages at the resulting URLs; therefore change_date(), score(), and size() will never have a value.
To make new back-ends, see WWW::Search.
Please tell the author if you find any!
Testing is done only on the children modules Lycos::Sites and Lycos::Pages.
As of 1998-12-07, WWW::Search::Lycos is maintained by Martin Thurn (MartinThurn@iname.com).
WWW::Search::Lycos
WWW::Search::Lycos was originally written by Martin Thurn, based on WWW::Search::Yahoo version 1.12 of 1998-10-22.
WWW::Search::Yahoo
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 is not listed here, then it was not a meaningful nor released revision.
now uses hash_to_cgi_string()
Now able to get Web Sites results via child module Sites.pm
Now uses lycos.com's advanced query format.
First public release after being adopted by Martin Thurn.
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.