summary refs log tree commit diff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-04 14:16:03 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-04 14:16:32 +0100
commit2e4726423544041887641df18e2f4c4c5e3f4f6d (patch)
treed209c50080fe551d1c0a90928113fe2ac519c35e
parent1c78cb118c306541984c7f5e2c40fd4e3ed1c94c (diff)
downloadyoutube-dl-2e4726423544041887641df18e2f4c4c5e3f4f6d.tar.gz
youtube-dl-2e4726423544041887641df18e2f4c4c5e3f4f6d.tar.xz
youtube-dl-2e4726423544041887641df18e2f4c4c5e3f4f6d.zip
[zdf] extract webm formats(closes #26659)
-rw-r--r--youtube_dl/extractor/zdf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py
index 656864b2e..5ed2946c2 100644
--- a/youtube_dl/extractor/zdf.py
+++ b/youtube_dl/extractor/zdf.py
@@ -40,7 +40,7 @@ class ZDFBaseIE(InfoExtractor):
 
 class ZDFIE(ZDFBaseIE):
     _VALID_URL = r'https?://www\.zdf\.de/(?:[^/]+/)*(?P<id>[^/?]+)\.html'
-    _QUALITIES = ('auto', 'low', 'med', 'high', 'veryhigh')
+    _QUALITIES = ('auto', 'low', 'med', 'high', 'veryhigh', 'hd')
     _GEO_COUNTRIES = ['DE']
 
     _TESTS = [{
@@ -119,7 +119,7 @@ class ZDFIE(ZDFBaseIE):
         if not ptmd_path:
             ptmd_path = t[
                 'http://zdf.de/rels/streams/ptmd-template'].replace(
-                '{playerId}', 'portal')
+                '{playerId}', 'ngplayer_2_4')
 
         ptmd = self._call_api(
             urljoin(url, ptmd_path), player, url, video_id, 'metadata')