Browse Source

[keek] Strip title

master
Sergey M․ 9 years ago
parent
commit
86692c019c
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/keek.py

2
youtube_dl/extractor/keek.py

@ -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,

Loading…
Cancel
Save