mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-07 03:32:22 +03:00
refactor _extract_ptmd, remove extract_ptmd_urls
Authored by: bashonly
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user