Add one more case when account is locked

pull/8983/head
ringus1 10 months ago
parent c22e4bd29f
commit 4916a77720

@ -441,6 +441,8 @@ class FacebookIE(InfoExtractor):
raise ExtractorError('Login account is suspended.', expected=True)
if 'send a code to confirm the mobile number you give us' in webpage:
raise ExtractorError('Mobile number checkpoint for logged in user.', expected=True)
if 'your account has been locked' in webpage:
raise ExtractorError('Account is locked.', expected=True)
userinfo = get_first(sjs_data, (
'require', ..., ..., ..., '__bbox', 'define',

Loading…
Cancel
Save