diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-15 21:30:46 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-15 22:09:07 +0530 |
commit | 39ca3b5c7f8b05ce2b23bfda158ddf8d47434794 (patch) | |
tree | 582274ea4095f4c366b77643c45eaa5027cb23c2 /yt_dlp/extractor/common.py | |
parent | 46383212b336012f14b79839a5b344d35a6c90e4 (diff) |
[extractor] Standardize `_live_title`
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 5562d1862..431d59351 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -3456,10 +3456,8 @@ class InfoExtractor(object): return formats def _live_title(self, name): - """ Generate the title for a live video """ - now = datetime.datetime.now() - now_str = now.strftime('%Y-%m-%d %H:%M') - return name + ' ' + now_str + self._downloader.deprecation_warning('yt_dlp.InfoExtractor._live_title is deprecated and does not work as expected') + return name def _int(self, v, name, fatal=False, **kwargs): res = int_or_none(v, **kwargs) |