From 035afbfadd344a25aacde4f698f1c33a7b58ec09 Mon Sep 17 00:00:00 2001 From: carsten demming Date: Tue, 20 Feb 2018 13:17:56 +0100 Subject: [PATCH] - added current ZDF test case --- youtube_dl/extractor/zdf.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py index 523bb5c95..8133a1fb2 100644 --- a/youtube_dl/extractor/zdf.py +++ b/youtube_dl/extractor/zdf.py @@ -42,6 +42,17 @@ class ZDFIE(ZDFBaseIE): _QUALITIES = ('auto', 'low', 'med', 'high', 'veryhigh') _TESTS = [{ + 'url': 'https://www.zdf.de/dokumentation/zdfinfo-doku/polenzwei-102.html', + 'info_dict': { + 'id': 'polenzwei-102', + 'ext': 'mp4', + 'title': 'Polenfeldzug (2)', + 'description': 'md5:4771d08c3a0ce235a5477fe39ab5e72a', + 'duration': 2699, + 'timestamp': 1519030800, + 'upload_date': '20180219', + } + },{ 'url': 'https://www.zdf.de/service-und-hilfe/die-neue-zdf-mediathek/zdfmediathek-trailer-100.html', 'info_dict': { 'id': 'zdfmediathek-trailer-100',