aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/theplatform.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/theplatform.py')
-rw-r--r--yt_dlp/extractor/theplatform.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/theplatform.py b/yt_dlp/extractor/theplatform.py
index 537f6f6cd..8307b912d 100644
--- a/yt_dlp/extractor/theplatform.py
+++ b/yt_dlp/extractor/theplatform.py
@@ -45,7 +45,7 @@ class ThePlatformBaseIE(OnceIE):
raise ExtractorError(
error_element.attrib['abstract'], expected=True)
- smil_formats = self._parse_smil_formats(
+ smil_formats, subtitles = self._parse_smil_formats_and_subtitles(
meta, smil_url, video_id, namespace=default_ns,
# the parameters are from syfy.com, other sites may use others,
# they also work for nbc.com
@@ -65,8 +65,6 @@ class ThePlatformBaseIE(OnceIE):
formats.append(_format)
- subtitles = self._parse_smil_subtitles(meta, default_ns)
-
return formats, subtitles
def _download_theplatform_metadata(self, path, video_id):