From 13598940e3e019ce19eaf87ae872ea52b7cb8740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 14 Mar 2015 01:27:21 +0600 Subject: [PATCH] [kanalplay] Fix test --- youtube_dl/extractor/kanalplay.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/kanalplay.py b/youtube_dl/extractor/kanalplay.py index 772d5aca4..2bb078036 100644 --- a/youtube_dl/extractor/kanalplay.py +++ b/youtube_dl/extractor/kanalplay.py @@ -15,14 +15,17 @@ class KanalPlayIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?kanal(?P5|9|11)play\.se/(?:#!/)?(?:play/)?program/\d+/video/(?P\d+)' _TESTS = [{ 'url': 'http://www.kanal5play.se/#!/play/program/3060212363/video/3270012277', - 'md5': '', 'info_dict': { - 'id': '2609989', + 'id': '3270012277', 'ext': 'flv', 'title': 'Saknar både dusch och avlopp', - 'description': 'md5:', + 'description': 'md5:6023a95832a06059832ae93bc3c7efb7', 'duration': 2636.36, }, + 'params': { + # rtmp download + 'skip_download': True, + } }, { 'url': 'http://www.kanal9play.se/#!/play/program/335032/video/246042', 'only_matching': True,