Skip Menu |

This queue is for tickets about the Bot-WootOff CPAN distribution.

Report information
The Basics
Id: 49400
Status: resolved
Priority: 0/
Queue: Bot-WootOff

People
Owner: Nobody in particular
Requestors: noel [...] thesubnet.net
Cc:
AdminCc:

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



Subject: regex change
Date: Thu, 3 Sep 2009 11:54:41 -0400 (EDT)
To: bug-Bot-WootOff [...] rt.cpan.org
From: Noel Rosenberg <noel [...] thesubnet.net>
Woot.com appears to have changed their HTML slightly yesterday, and this is causing Bot:WootOff to return "no match" when it looks for the item and price. if($text =~ m#<h2>(.*?)</h2>\s+<h3>\$(.*?)</h3>#s) { The current text is: ------------- <h2 class="fn">Uniden 5.8GHz Dual Handset Digital Cordless Phone with An swering System</h2> <h3 class="price"><span class="money"><abbr class="currency" title="USD" lang="en">$</abbr><span class="amount">19.99</span></span></h3> ------------- so they seem to have added a newline, and also some css and formatting tags. I'm still trying to adapt the regex, but have not yet gotten it quite right. ---Noel Rosenberg ---noel@thesubnet.net ---Sleep Vampire ---"One does not win a mud-slinging fest by getting into the mud; --- The pigs have the home field advantage."
Subject: Re: [rt.cpan.org #49400] regex change
Date: Thu, 3 Sep 2009 16:37:32 -0700 (PDT)
To: Noel Rosenberg via RT <bug-Bot-WootOff [...] rt.cpan.org>
From: Mike Schilli <m [...] perlmeister.com>
On Thu, 3 Sep 2009, Noel Rosenberg via RT wrote: Show quoted text
> Woot.com appears to have changed their HTML slightly yesterday, and > this is causing Bot:WootOff to return "no match" when it looks for the > item and price.
Thanks for the heads-up, I've committed the necessary changes in http://github.com/mschilli/bot-wootoff/commit/00d8ab39ff37f99cb85ccfcc0eb6c3b6d757fd27 and released Bot::WootOff 0.04 to CPAN. -- Mike Mike Schilli m@perlmeister.com
Subject: Re: [rt.cpan.org #49400] regex change
Date: Thu, 3 Sep 2009 20:02:55 -0400 (EDT)
To: Mike Schilli via RT <bug-Bot-WootOff [...] rt.cpan.org>
From: Noel Rosenberg <noel [...] thesubnet.net>
On Thu, 3 Sep 2009, Mike Schilli via RT wrote: | Thanks for the heads-up, I've committed the necessary changes in | | http://github.com/mschilli/bot-wootoff/commit/00d8ab39ff37f99cb85ccfcc0eb6c3b6d757fd27 | | and released Bot::WootOff 0.04 to CPAN. Thanks for the quick fix. A couple of private IRC servers will be glad to be getting their ongoing fix. :-) -Noel
Just saw there was a 'uninitialized' warning with the 0.04 release, fixed in 0.05, sorry 'bout that. Marking bug 'resolved'.