A feature-rich command-line audio/video downloader
[Fancode] Fix live streams (#961)
zenerdi0de9c95ac677e04
diff --git a/yt_dlp/extractor/fancode.py b/yt_dlp/extractor/fancode.pyindex fd84a6e508..912feb7023 100644--- a/yt_dlp/extractor/fancode.py+++ b/yt_dlp/extractor/fancode.py@@ -173,7 +173,7 @@ class FancodeLiveIE(FancodeVodIE):match_info = try_get(info_json, lambda x: x['data']['match'])- if match_info.get('status') != "LIVE":+ if match_info.get('streamingStatus') != "STARTED":raise ExtractorError('The stream can\'t be accessed', expected=True)self._check_login_required(match_info.get('isUserEntitled'), True) # all live streams are premium only