summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-12-23 15:21:43 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2009-12-23 15:21:43 +0100
commite71ea224cccc314a35adc9c3f6bc6408094ff41b (patch)
treeaf0350e38b239f9743cd22fdefd2d72d4197eddf /modules
parente2aa23a3abddabb1b1e8e449e22dad5a95b3c7d1 (diff)
Fixed title regex.
Diffstat (limited to 'modules')
-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 fbca0d9..0f7d64a 100644
--- a/modules/url_titles.py
+++ b/modules/url_titles.py
@@ -8,7 +8,7 @@ import re, urllib2, htmlentitydefs, gzip, cStringIO, spotimeta
class Module:
re_http = re.compile(r'(http://[^\ ]+)')
- re_title = re.compile(r'<title[^>]+?>(.*?)</title>', re.S | re.I)
+ re_title = re.compile(r'<title[^>]*?>(.*?)</title>', re.S | re.I)
metadata = spotimeta.Metadata(cache = {})
def __init__(self, bot):