]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[keek] Strip title
authorSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:17:28 +0000 (01:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:17:28 +0000 (01:17 +0600)
youtube_dl/extractor/keek.py

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