Skip Menu |
 

This queue is for tickets about the WWW-Search-Ebay CPAN distribution.

Report information
The Basics
Id: 48379
Status: resolved
Worked: 33 min
Priority: 0/
Queue: WWW-Search-Ebay

People
Owner: Nobody in particular
Requestors: dschmick [...] dschmick.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: mthurn [...] cpan.org
Subject: Bug in WWW::Search::Ebay
Date: Sun, 02 Aug 2009 20:32:20 -0600
To: bug-WWW-Search-Ebay [...] rt.cpan.org
From: Dan Schmick <dschmick [...] dschmick.com>
Download (untitled) / with headers
text/plain 3.4k
Hello, This module used to work perfectly for me, but stopped doing so about a month ago. The attribute end_date is no longer populated. Here's a sample program that illustrates the problem: ||#!/usr/bin/perl -w use strict; use WWW::Search; use Text::Table; { my $q = "wilson k factor 95" || shift @ARGV; my $oSearch = new WWW::Search('Ebay'); my $sQuery = WWW::Search::escape_query($q); $oSearch->native_query($sQuery); my $tb = Text::Table->new( "Title", "End Date", "Bid Amount", "Bid Count", "URL" ); while (my $oResult = $oSearch->next_result()) { my $title = $oResult->title(); my $end_date = $oResult->end_date(); my $bid_amount = $oResult->bid_amount(); my $bid_count = $oResult->bid_count(); my $url = $oResult->url; $tb->load([$title,$end_date,$bid_amount,$bid_count, $url]); } print $tb; } And here's the output. Notice that there are no auction end_dates. Title End Date Bid Amount Bid Count URL WILSON K FACTOR SIX-ONE 95 NO.2 41/4 FREE STRING $63.00 12 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250473294159 Wilson K Factor 95 $21.50 3 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=180389564740 Wilson K Factor 95 $20.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=180389565752 WILSON K FACTOR SIX-ONE 95 NO.2 41/4 FREE STRING $63.00 12 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250473294159 NEW Wilson K Factor Six-One 95 (4 3/8) Tennis Racquet $140.00 0 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=160352840468 Wilson K Factor KSix-One 95 (16x18) Racquet $69.99 0 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110419236828 Wilson K Factor Six One 95 Tennis Racquet $0.99 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320407014767 WILSON K Factor KSix-One 95 (16x18) tennis racket 4 3/8 $20.50 6 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=160352909875 WILSON K Factor KSix-One 95 (16x18) tennis racket 4 3/8 $2.58 3 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=160352909892 Wilson K Factor K Six One Team 95 Tennis Racquet 4 3/8 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437300986 Wilson K Factor K Six One Team 95 Tennis Racquet 4 3/8 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437301230 Wilson K Factor K Six One Team 95 Tennis Racquet 4 3/8 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437301814 Wilson K Factor K Six One Team 95 Tennis Racquet 4 3/8 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437302183 Wilson K Factor K Six One Team 95 Tennis Racquet 4 1/4 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437303857 Wilson K Factor K Six One Team 95 Tennis Racquet 4 1/4 $1.00 1 http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270437304125 Environment: Gentoo (up to date) perl v5.8.8 # $Id: Ebay.pm,v 2.245 2009/05/31 14:58:50 Martin Exp $ Thanks! Dan Schmick dschmick@dschmick.com
Download (untitled) / with headers
text/plain 108b
Fixed and uploaded 3.012 to CPAN a few minutes ago. Thank you for your bug report! And sorry for the delay.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.