refactor _extract_ptmd, remove extract_ptmd_urls

Authored by: bashonly
This commit is contained in:
bashonly
2025-04-30 03:52:05 -05:00
parent 3839ec0b21
commit 8dba129c8a
3 changed files with 40 additions and 29 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class DreiSatIE(ZDFBaseIE):
{str}, any, {require('ptmd path')}))
ptmd_url = self._expand_ptmd_template(player_url, ptmd_path)
aspect_ratio = self._parse_aspect_ratio(video_target.get('aspectRatio'))
info = self._extract_ptmd_urls(ptmd_url, video_id, api_token, aspect_ratio)
info = self._extract_ptmd(ptmd_url, video_id, api_token, aspect_ratio)
return merge_dicts(info, {
**traverse_obj(content, {