浏览代码

[keek] Remove description

Since it equals title plus static suffix
Sergey M․ 10 年之前
父节点
当前提交
926fb62eec
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      youtube_dl/extractor/keek.py

+ 2 - 4
youtube_dl/extractor/keek.py

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