mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Reverted to the old tld mechanism since our regexps depend on English.
This commit is contained in:
parent
1f9979073c
commit
65c739d706
@ -115,8 +115,8 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
irc.reply(str(e))
|
irc.reply(str(e))
|
||||||
|
|
||||||
def ebaySnarfer(self, irc, msg, match):
|
def ebaySnarfer(self, irc, msg, match):
|
||||||
r"http://cgi\.ebay\.(?:[a-z]+\.?)+/(?:.*?/)?(?:ws/)?" \
|
r"http://cgi\.ebay\.(?:com(?:\.au)?|co\.uk|ca)/.*" \
|
||||||
r"eBayISAPI\.dll\?ViewItem(?:&item=\d+|&category=\d+)+"
|
r"eBayISAPI\.dll\?ViewItem(?:&(?:item|category)=\d+)+"
|
||||||
if not self.registryValue('auctionSnarfer', msg.args[0]):
|
if not self.registryValue('auctionSnarfer', msg.args[0]):
|
||||||
return
|
return
|
||||||
url = match.group(0)
|
url = match.group(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user