mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-07 03:32:22 +03:00
Split expanding PTMD template from extracting PTMD data
This commit is contained in:
@@ -97,7 +97,8 @@ class DreiSatIE(ZDFBaseIE):
|
||||
(('streams', 'default'), None),
|
||||
('http://zdf.de/rels/streams/ptmd', 'http://zdf.de/rels/streams/ptmd-template'),
|
||||
{str}, any, {require('ptmd path')}))
|
||||
info = self._extract_ptmd(player_url, ptmd_path, video_id, api_token)
|
||||
ptmd_url = self._expand_ptmd_template(player_url, ptmd_path)
|
||||
info = self._extract_ptmd(ptmd_url, video_id, api_token)
|
||||
|
||||
return merge_dicts(info, {
|
||||
**traverse_obj(content, {
|
||||
|
||||
Reference in New Issue
Block a user