Click here to get back home

WWW::Search::Ebay question

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
WWW::Search::Ebay question banjolibrarian 08-09-2006
Get Chitika Premium
Posted by banjolibrarian on August 9, 2006, 9:29 pm
Please log in for more thread options


Using the fscript below on Activestate Perl (Windows XP) with
WWW::Search::Ebay installed, I get no results when it comes to printing
the items. It prints the $oSearch and $sQuery values along the way,
but does not generate anything from within the while loop. Any advice
would be appreciated.

Thanks!

Jesse

<script below>

#!/bin/env perl
#!c:\perl\bin\perl.exe

use WWW::Search;
my $oSearch = new WWW::Search('Ebay');
print "oSearch: ",$oSearch,"\n";
my $sQuery = WWW::Search::escape_query("dog");
print "sQuery: ",$sQuery,"\n";
$oSearch->native_query($sQuery);
print "oSearch: ",$oSearch,"\n";
while (my $oResult = $oSearch->next_result())
{
print "oResult: ",$oResult,"\n";
print $oResult->title, "\n";
print $oResult->url, "\n";
}
end;


Similar ThreadsPosted
Search eBay from command line May 31, 2007, 11:33 am
My Net::eBay PERL module now recommended by eBay itself September 2, 2005, 3:24 am
ANNOUNCE Net::eBay perl module August 31, 2005, 1:39 pm
ANNOUNCE Net::eBay perl module August 31, 2005, 2:15 pm
www::search July 9, 2007, 6:24 am
[RFC] Tagyu::Search October 24, 2005, 8:42 am
In search of working IM library July 26, 2006, 3:43 pm
ANNOUNCE: Search::InvertedIndex::Simple V 1.00 February 23, 2005, 11:16 am
In search of "Digest::Nilsimsa" author March 29, 2005, 3:31 pm
Free CGI scripts to search sites? February 12, 2006, 10:15 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap