From d5eea9e47caac810472884f402eccc2ae9007f52 Mon Sep 17 00:00:00 2001 From: Tithen-Firion Date: Mon, 10 Apr 2017 10:24:50 +0200 Subject: [PATCH] [openload] change all test to 'only_matching' --- youtube_dl/extractor/openload.py | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index b8ac56298..b9d0c5086 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -16,29 +16,10 @@ class OpenloadIE(InfoExtractor): _TESTS = [{ 'url': 'https://openload.co/f/kUEfGclsU9o', - 'md5': 'bf1c059b004ebc7a256f89408e65c36e', - 'info_dict': { - 'id': 'kUEfGclsU9o', - 'ext': 'mp4', - 'title': 'skyrim_no-audio_1080.mp4', - 'thumbnail': r're:^https?://.*\.jpg$', - }, + 'only_matching': True, }, { 'url': 'https://openload.co/embed/rjC09fkPLYs', - 'info_dict': { - 'id': 'rjC09fkPLYs', - 'ext': 'mp4', - 'title': 'movie.mp4', - 'thumbnail': r're:^https?://.*\.jpg$', - 'subtitles': { - 'en': [{ - 'ext': 'vtt', - }], - }, - }, - 'params': { - 'skip_download': True, # test subtitles only - }, + 'only_matching': True, }, { 'url': 'https://openload.co/embed/kUEfGclsU9o/skyrim_no-audio_1080.mp4', 'only_matching': True,