aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/svt.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-12-15 21:30:46 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-12-15 22:09:07 +0530
commit39ca3b5c7f8b05ce2b23bfda158ddf8d47434794 (patch)
tree582274ea4095f4c366b77643c45eaa5027cb23c2 /yt_dlp/extractor/svt.py
parent46383212b336012f14b79839a5b344d35a6c90e4 (diff)
downloadhypervideo-pre-39ca3b5c7f8b05ce2b23bfda158ddf8d47434794.tar.lz
hypervideo-pre-39ca3b5c7f8b05ce2b23bfda158ddf8d47434794.tar.xz
hypervideo-pre-39ca3b5c7f8b05ce2b23bfda158ddf8d47434794.zip
[extractor] Standardize `_live_title`
Diffstat (limited to 'yt_dlp/extractor/svt.py')
-rw-r--r--yt_dlp/extractor/svt.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/yt_dlp/extractor/svt.py b/yt_dlp/extractor/svt.py
index 489f197fe..6ad01a912 100644
--- a/yt_dlp/extractor/svt.py
+++ b/yt_dlp/extractor/svt.py
@@ -203,10 +203,6 @@ class SVTPlayIE(SVTPlayBaseIE):
'only_matching': True,
}]
- def _adjust_title(self, info):
- if info['is_live']:
- info['title'] = self._live_title(info['title'])
-
def _extract_by_video_id(self, video_id, webpage=None):
data = self._download_json(
'https://api.svt.se/videoplayer-api/video/%s' % video_id,
@@ -220,7 +216,6 @@ class SVTPlayIE(SVTPlayBaseIE):
if not title:
title = video_id
info_dict['title'] = title
- self._adjust_title(info_dict)
return info_dict
def _real_extract(self, url):
@@ -251,7 +246,6 @@ class SVTPlayIE(SVTPlayBaseIE):
'title': data['context']['dispatcher']['stores']['MetaStore']['title'],
'thumbnail': thumbnail,
})
- self._adjust_title(info_dict)
return info_dict
svt_id = try_get(