mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Fixed gameknot.com URL snarfer
This commit is contained in:
parent
ee7e27436c
commit
d782f7c725
@ -34,7 +34,7 @@ class Forums(callbacks.PrivmsgRegexp):
|
||||
|
||||
gkPlayer = re.compile(r"popd\('(Rating[^']+)'\).*?>([^<]+)<")
|
||||
def gameknot(self, irc, msg, match):
|
||||
r"http://gameknot.com/chess.pl?bd=\d+&r=\d+"
|
||||
r"http://gameknot.com/chess.pl\?bd=\d+&r=\d+"
|
||||
fd = urllib2.urlopen(match.group(0))
|
||||
s = fd.read()
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user