From 50605195b06fc6e533d00b3030b0da74460b3a18 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 30 Jun 2011 19:57:43 +0200 Subject: Fixed AniDB regex. --- modules/url_titles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3