NAME
WWW::Search::Yahoo::TV::Echostar - backend for searching tv.yahoo.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('Yahoo::TV::Echostar');
my $sQuery = WWW::Search::escape_query("Bai Ling");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
print $oResult->url, "\n";
DESCRIPTION
This class is a Yahoo specialization of WWW::Search. It handles making and interpreting Yahoo TV searches http://tv.yahoo.com.
METHODS
In addition to these special methods, this class exports the entire WWW::Search interface.
ignore_channels(@)
The arguments are a list of TV channels (by the 3- to 6-letter abbreviation used on Yahoo.com). URLs for TV programs on any of these channels will not be returned. (But note that approximate_result_count() will still count them!)
For example, if you do not subscribe to HBO, and you don't care about network shows on the West Coast, do something like the following anytime before calling results() or next_result() or the like:
$oSearch->ignore_channels(qw( HBO HBOW HBO2E HBO2W KABC KCBS KNBC ));
NOTES
This backend does a basic keyword search against the Echostar (Dish Network) East Coast channel lineup.
SEE ALSO
To make new back-ends, see WWW::Search.
BUGS
Please tell the author if you find any!
AUTHOR
Martin Thurn mthurn@cpan.org
LEGALESE
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.