Browse Source

[zdf] extract webm formats(closes #26659)

Remita Amine 4 years ago
parent
commit
2e47264235
1 changed files with 2 additions and 2 deletions
  1. 2 2
      youtube_dl/extractor/zdf.py

+ 2 - 2
youtube_dl/extractor/zdf.py

@@ -40,7 +40,7 @@ class ZDFBaseIE(InfoExtractor):
 
 
 class ZDFIE(ZDFBaseIE):
 class ZDFIE(ZDFBaseIE):
     _VALID_URL = r'https?://www\.zdf\.de/(?:[^/]+/)*(?P<id>[^/?]+)\.html'
     _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']
     _GEO_COUNTRIES = ['DE']
 
 
     _TESTS = [{
     _TESTS = [{
@@ -119,7 +119,7 @@ class ZDFIE(ZDFBaseIE):
         if not ptmd_path:
         if not ptmd_path:
             ptmd_path = t[
             ptmd_path = t[
                 'http://zdf.de/rels/streams/ptmd-template'].replace(
                 'http://zdf.de/rels/streams/ptmd-template'].replace(
-                '{playerId}', 'portal')
+                '{playerId}', 'ngplayer_2_4')
 
 
         ptmd = self._call_api(
         ptmd = self._call_api(
             urljoin(url, ptmd_path), player, url, video_id, 'metadata')
             urljoin(url, ptmd_path), player, url, video_id, 'metadata')