mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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))
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user