summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-06-30 19:57:43 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-06-30 19:57:43 +0200
commit50605195b06fc6e533d00b3030b0da74460b3a18 (patch)
treec0c09e51b6b09f434aedbb1fb2bcf25c2339b0c5
parent28d9a59164fedfff866bfd782508c88d92ea4796 (diff)
Fixed AniDB regex.
-rw-r--r--modules/url_titles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/url_titles.py b/modules/url_titles.py
index 343ce5c..24783ac 100644
--- a/modules/url_titles.py
+++ b/modules/url_titles.py
@@ -60,7 +60,7 @@ class Module:
continue
# Run AniDB URLs through AniDB module.
- m = re.match('http://anidb.net/(perl-bin/animedb.pl?show=anime&aid=|a)(\d+)', url)
+ m = re.match('http://anidb.net/(perl-bin/animedb.pl\?show=anime&aid=|a)(\d+)', url)
if m and 'anidb' in self.irc.modules:
aid = int(m.groups()[1])
titles.append(self.irc.modules['anidb'].get_info(aid))