[Fancode] Fix live streams (#961)

Authored by: zenerdi0de
pull/966/head
zenerdi0de 3 years ago committed by GitHub
parent ea706726d6
commit 9c95ac677e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save