From 0f8938bd1e2259cea6b8705748e8012bb0075f90 Mon Sep 17 00:00:00 2001 From: wfaulk Date: Thu, 11 May 2023 14:13:38 -0400 Subject: [PATCH] Update youtube_dl/extractor/tubitv.py Co-authored-by: dirkf --- youtube_dl/extractor/tubitv.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/youtube_dl/extractor/tubitv.py b/youtube_dl/extractor/tubitv.py index a1c082f2a..213ff579f 100644 --- a/youtube_dl/extractor/tubitv.py +++ b/youtube_dl/extractor/tubitv.py @@ -90,9 +90,7 @@ class TubiTvIE(InfoExtractor): 'url': self._proto_relative_url(sub_url), }) - is_live = None - if video_data.get('tags'): - is_live = 'live' in video_data.get('tags') + is_live = ('live' in video_data.get('tags') or []) or None return { 'id': video_id,