浏览代码

[youtube] Fix test case

Philipp Hagemeister 10 年之前
父节点
当前提交
9ed99402f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/youtube.py

+ 1 - 1
youtube_dl/extractor/youtube.py

@@ -414,7 +414,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
                 'id': 'HtVdAasjOgU',
                 'id': 'HtVdAasjOgU',
                 'ext': 'mp4',
                 'ext': 'mp4',
                 'title': 'The Witcher 3: Wild Hunt - The Sword Of Destiny Trailer',
                 'title': 'The Witcher 3: Wild Hunt - The Sword Of Destiny Trailer',
-                'description': 'md5:eca57043abae25130f58f655ad9a7771',
+                'description': 're:(?s).{100,}About the Game\n.*?The Witcher 3: Wild Hunt.{100,}',
                 'uploader': 'The Witcher',
                 'uploader': 'The Witcher',
                 'uploader_id': 'WitcherGame',
                 'uploader_id': 'WitcherGame',
                 'upload_date': '20140605',
                 'upload_date': '20140605',