mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-07 01:47:26 +00:00
[zdf] extract webm formats(closes #26659)
This commit is contained in:
parent
1c78cb118c
commit
2e47264235
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user