[keek] Strip title

This commit is contained in:
Sergey M․ 2015-09-28 01:17:28 +06:00
parent 1ab1c4ef57
commit 86692c019c

View File

@ -28,7 +28,7 @@ class KeekIE(InfoExtractor):
'id': video_id, 'id': video_id,
'url': self._og_search_video_url(webpage), 'url': self._og_search_video_url(webpage),
'ext': 'mp4', 'ext': 'mp4',
'title': self._og_search_description(webpage), 'title': self._og_search_description(webpage).strip(),
'thumbnail': self._og_search_thumbnail(webpage), 'thumbnail': self._og_search_thumbnail(webpage),
'uploader': self._search_regex( 'uploader': self._search_regex(
r'data-username=(["\'])(?P<uploader>.+?)\1', webpage, r'data-username=(["\'])(?P<uploader>.+?)\1', webpage,