diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-30 11:55:31 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-05-30 11:55:31 +0200 |
commit | c5f92bde3d0ac8b27ec8861a9269cd84ccd99457 (patch) | |
tree | 6a0d142f89c83201e6825ec5e66948a5c6ad5bc7 /modules | |
parent | e1b89acded5a5ffd4e5438e2b808bbc9fb418cc2 (diff) |
url_titles: Match https URLs.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/url_titles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/url_titles.py b/modules/url_titles.py index 3172fac..60cc16f 100644 --- a/modules/url_titles.py +++ b/modules/url_titles.py @@ -8,7 +8,7 @@ import re, urllib2, htmlentitydefs, gzip, cStringIO, spotimeta, time from PIL import ImageFile class Module: - re_http = re.compile(r'(http://[^\ ]+)') + re_http = re.compile(r'(https?://[^\ ]+)') re_spotify = re.compile(r'spotify:(?:track|artist|album):[\w]{22}') re_title = re.compile(r'<title[^>]*?>(.*?)</title>', re.S | re.I) metadata = spotimeta.Metadata(cache = {}) |