diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-04-11 18:39:13 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-04-11 18:39:13 +0200 |
commit | f4381ab88a5bebc241d6f089719720049014ced9 (patch) | |
tree | 25e1a9f76c8e0fd1afeedc20784f3d4c5381c1bf | |
parent | 744435f2a420c2d734b70e302ca881a176a447ed (diff) |
Fix keek title extraction
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 94e4451ed..7deb488a9 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4136,7 +4136,7 @@ class KeekIE(InfoExtractor): video_url = u'http://cdn.keek.com/keek/video/%s' % video_id thumbnail = u'http://cdn.keek.com/keek/thumbnail/%s/w100/h75' % video_id webpage = self._download_webpage(url, video_id) - m = re.search(r'<meta property="og:title" content="(?P<title>.+)"', webpage) + m = re.search(r'<meta property="og:title" content="(?P<title>.*?)"', webpage) title = unescapeHTML(m.group('title')) m = re.search(r'<div class="user-name-and-bio">[\S\s]+?<h2>(?P<uploader>.+?)</h2>', webpage) uploader = clean_html(m.group('uploader')) |