mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-02 01:01:41 +03:00
Add one more case when account is locked
This commit is contained in:
@@ -441,6 +441,8 @@ class FacebookIE(InfoExtractor):
|
|||||||
raise ExtractorError('Login account is suspended.', expected=True)
|
raise ExtractorError('Login account is suspended.', expected=True)
|
||||||
if 'send a code to confirm the mobile number you give us' in webpage:
|
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)
|
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, (
|
userinfo = get_first(sjs_data, (
|
||||||
'require', ..., ..., ..., '__bbox', 'define',
|
'require', ..., ..., ..., '__bbox', 'define',
|
||||||
|
|||||||
Reference in New Issue
Block a user