mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Lower the priority, so other snarfers run first.
This commit is contained in:
parent
4e53cfef63
commit
3bd1e009fa
@ -166,6 +166,7 @@ class URLDB(object):
|
|||||||
self.filename, notAdded)
|
self.filename, notAdded)
|
||||||
|
|
||||||
class URL(callbacks.PrivmsgCommandAndRegexp):
|
class URL(callbacks.PrivmsgCommandAndRegexp):
|
||||||
|
priority = 100 # lower than 99, the normal priority.
|
||||||
regexps = ['tinyurlSnarfer', 'titleSnarfer']
|
regexps = ['tinyurlSnarfer', 'titleSnarfer']
|
||||||
_titleRe = re.compile('<title>(.*?)</title>', re.I | re.S)
|
_titleRe = re.compile('<title>(.*?)</title>', re.I | re.S)
|
||||||
def getDb(self, channel):
|
def getDb(self, channel):
|
||||||
|
Loading…
Reference in New Issue
Block a user