Update youtube_dl/extractor/tubitv.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
wfaulk 2023-05-11 14:13:38 -04:00 committed by GitHub
parent 7607aa7589
commit 0f8938bd1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,