diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-15 13:01:17 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-15 13:01:17 -0500 |
commit | 97eb14c3689ac0589c41948161bc3ca23be31d95 (patch) | |
tree | 1b4ccb2b7243fc09ca9baf1f7fe907436cc4af4a /yt_dlp/extractor/svt.py | |
parent | 8389a1296991bbb0b36c61dce7d0691c69d865bf (diff) | |
parent | 3116be32b404cbeca066d73a14079a11b8072faf (diff) | |
download | hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.tar.lz hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.tar.xz hypervideo-pre-97eb14c3689ac0589c41948161bc3ca23be31d95.zip |
updated from upstream | 15/12/2021 at 13:01
Diffstat (limited to 'yt_dlp/extractor/svt.py')
-rw-r--r-- | yt_dlp/extractor/svt.py | 6 |
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( |