diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py index 3bb29d0c8..a19351786 100644 --- a/yt_dlp/extractor/facebook.py +++ b/yt_dlp/extractor/facebook.py @@ -493,8 +493,8 @@ def _extract_from_url(self, url, video_id): if login_data: logged_in = get_first(sjs_data, ( - 'require', ..., ..., ..., '__bbox', 'define', - lambda _, v: 'CurrentUserInitialData' in v, ..., 'ACCOUNT_ID'), default='0') != '0' + 'require', ..., ..., ..., '__bbox', 'define', + lambda _, v: 'CurrentUserInitialData' in v, ..., 'ACCOUNT_ID'), default='0') != '0' if logged_in: if any(content in webpage for content in ['180 days left to appeal', 'suspended your account']): raise ExtractorError('Your account is suspended', expected=True)