From 65c739d706f5dae6d77f599c56aea2dea3c2c0b4 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 31 Aug 2004 14:45:26 +0000 Subject: [PATCH] Reverted to the old tld mechanism since our regexps depend on English. --- plugins/Ebay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Ebay.py b/plugins/Ebay.py index 6077f437c..2e75f864c 100644 --- a/plugins/Ebay.py +++ b/plugins/Ebay.py @@ -115,8 +115,8 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp): irc.reply(str(e)) def ebaySnarfer(self, irc, msg, match): - r"http://cgi\.ebay\.(?:[a-z]+\.?)+/(?:.*?/)?(?:ws/)?" \ - r"eBayISAPI\.dll\?ViewItem(?:&item=\d+|&category=\d+)+" + r"http://cgi\.ebay\.(?:com(?:\.au)?|co\.uk|ca)/.*" \ + r"eBayISAPI\.dll\?ViewItem(?:&(?:item|category)=\d+)+" if not self.registryValue('auctionSnarfer', msg.args[0]): return url = match.group(0)