Fix keek title extraction
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 11 Apr 2013 16:39:13 +0000 (18:39 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 11 Apr 2013 16:39:13 +0000 (18:39 +0200)
youtube_dl/InfoExtractors.py

index 94e4451ed935312cb8c06a1a827637c2a32fe59b..7deb488a90d7fe22f4e7d7975f52e70d1fc79cf4 100755 (executable)
@@ -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'))