浏览代码

[tunein] Use live title for live streams (closes #16347)

Sergey M․ 7 年之前
父节点
当前提交
a93ce61bd5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/tunein.py

+ 1 - 1
youtube_dl/extractor/tunein.py

@@ -62,7 +62,7 @@ class TuneInBaseIE(InfoExtractor):
 
 
         return {
         return {
             'id': content_id,
             'id': content_id,
-            'title': title,
+            'title': self._live_title(title) if is_live else title,
             'formats': formats,
             'formats': formats,
             'thumbnail': thumbnail,
             'thumbnail': thumbnail,
             'location': location,
             'location': location,