diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-02-08 11:00:28 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-02-08 11:00:28 +0100 |
commit | f0877a445e29ff58a4d377c8a193efb8f7c9b8e8 (patch) | |
tree | d1e4a1ca2972bd4b690d67e48acf8eb5935d6fb3 /youtube_dl | |
parent | da06e2daf847a085e6b578d95c7003460451c333 (diff) |
Add tests for keek
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 2eef2a698..ac69f82fe 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3955,9 +3955,9 @@ class KeekIE(InfoExtractor): 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) - title = m.group('title') + title = unescapeHTML(m.group('title')) m = re.search(r'<div class="bio-names-and-report">[\s\n]+<h4>(?P<uploader>\w+)</h4>', webpage) - uploader = m.group('uploader') + uploader = unescapeHTML(m.group('uploader')) info = { 'id':video_id, 'url':video_url, @@ -3965,7 +3965,7 @@ class KeekIE(InfoExtractor): 'title': title, 'thumbnail': thumbnail, 'uploader': uploader - } + } return [info] def gen_extractors(): |