mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-03 01:31:38 +03:00
Flake fix
This commit is contained in:
@@ -493,8 +493,8 @@ class FacebookIE(InfoExtractor):
|
|||||||
|
|
||||||
if login_data:
|
if login_data:
|
||||||
logged_in = get_first(sjs_data, (
|
logged_in = get_first(sjs_data, (
|
||||||
'require', ..., ..., ..., '__bbox', 'define',
|
'require', ..., ..., ..., '__bbox', 'define',
|
||||||
lambda _, v: 'CurrentUserInitialData' in v, ..., 'ACCOUNT_ID'), default='0') != '0'
|
lambda _, v: 'CurrentUserInitialData' in v, ..., 'ACCOUNT_ID'), default='0') != '0'
|
||||||
if logged_in:
|
if logged_in:
|
||||||
if any(content in webpage for content in ['180 days left to appeal', 'suspended your account']):
|
if any(content in webpage for content in ['180 days left to appeal', 'suspended your account']):
|
||||||
raise ExtractorError('Your account is suspended', expected=True)
|
raise ExtractorError('Your account is suspended', expected=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user