aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/fancode.py
diff options
context:
space:
mode:
authorzenerdi0de <83358565+zenerdi0de@users.noreply.github.com>2021-09-13 21:10:32 +0530
committerGitHub <noreply@github.com>2021-09-13 21:10:32 +0530
commit9c95ac677e049df4ead19e5a0e4b66ee6b0ba96c (patch)
tree99626d23b063e21bcf62c6b21c03f389580f5ae7 /yt_dlp/extractor/fancode.py
parentea706726d6783cf738877d4c58fb62e2a355f9d0 (diff)
downloadhypervideo-pre-9c95ac677e049df4ead19e5a0e4b66ee6b0ba96c.tar.lz
hypervideo-pre-9c95ac677e049df4ead19e5a0e4b66ee6b0ba96c.tar.xz
hypervideo-pre-9c95ac677e049df4ead19e5a0e4b66ee6b0ba96c.zip
[Fancode] Fix live streams (#961)
Authored by: zenerdi0de
Diffstat (limited to 'yt_dlp/extractor/fancode.py')
-rw-r--r--yt_dlp/extractor/fancode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/fancode.py b/yt_dlp/extractor/fancode.py
index fd84a6e50..912feb702 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