summaryrefslogtreecommitdiffstats
path: root/modules/head.py
diff options
context:
space:
mode:
authorSean B. Palmer <sbp@aldebaran.local>2010-12-23 19:34:03 +0000
committerSean B. Palmer <sbp@aldebaran.local>2010-12-23 19:34:03 +0000
commit01cebd1ccc8e83dbbbe78d27ae1f4e14b206e5b7 (patch)
treea8298644ed9f9e5ef80c41f63fca8f13234e35cc /modules/head.py
parent5ebe01386d46f0a3a50b2b02416d8e7ee222af7e (diff)
downloadbot-01cebd1ccc8e83dbbbe78d27ae1f4e14b206e5b7.tar.gz
bot-01cebd1ccc8e83dbbbe78d27ae1f4e14b206e5b7.tar.bz2
bot-01cebd1ccc8e83dbbbe78d27ae1f4e14b206e5b7.zip
HTTPS title support, and a minor encoding fix.
Diffstat (limited to 'modules/head.py')
-rwxr-xr-xmodules/head.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/head.py b/modules/head.py
index b6767ff..384b8df 100755
--- a/modules/head.py
+++ b/modules/head.py
@@ -168,7 +168,7 @@ def noteuri(phenny, input):
if not hasattr(phenny.bot, 'last_seen_uri'):
phenny.bot.last_seen_uri = {}
phenny.bot.last_seen_uri[input.sender] = uri
-noteuri.rule = r'.*(http://[^<> "\x01]+)[,.]?'
+noteuri.rule = r'.*(http[s]?://[^<> "\x01]+)[,.]?'
noteuri.priority = 'low'
if __name__ == '__main__':