Split expanding PTMD template from extracting PTMD data

This commit is contained in:
InvalidUsernameException
2025-04-20 19:32:10 +02:00
parent 3bb3aa4672
commit 692a396be8
3 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -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, {