]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[keek] Remove description
authorSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:14:14 +0000 (01:14 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 27 Sep 2015 19:14:14 +0000 (01:14 +0600)
Since it equals title plus static suffix

youtube_dl/extractor/keek.py

index 7e1a3f67c84153592830978427c7c22a13dd645f..dff4cb558d3b355aa6c3727ac927698029b1a9e2 100644 (file)
@@ -13,8 +13,7 @@ class KeekIE(InfoExtractor):
         'info_dict': {
             'id': 'NODfbab',
             'ext': 'mp4',
-            'title': 'test chars: "\'/\\ä<>This is a test video for youtube-dl.For more information, contact phihag@phihag.de . - Video - Videos on Keek',
-            'description': 'md5:35d42050a3ece241d5ddd7fdcc6fd896',
+            'title': 'md5:35d42050a3ece241d5ddd7fdcc6fd896',
             'uploader': 'ytdl',
             'uploader_id': 'eGT5bab',
         },
@@ -29,8 +28,7 @@ class KeekIE(InfoExtractor):
             'id': video_id,
             'url': self._og_search_video_url(webpage),
             'ext': 'mp4',
-            'title': self._og_search_title(webpage),
-            'description': self._og_search_description(webpage),
+            'title': self._og_search_description(webpage),
             'thumbnail': self._og_search_thumbnail(webpage),
             'uploader': self._search_regex(r'data-username="([^"]+)"', webpage, 'uploader', fatal=False),
             'uploader_id': self._search_regex(r'data-user-id="([^"]+)"', webpage, 'uploader id', fatal=False),