diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py index e15c8d1186..7db0c4db93 100644 --- a/yt_dlp/extractor/facebook.py +++ b/yt_dlp/extractor/facebook.py @@ -439,6 +439,8 @@ class FacebookIE(InfoExtractor): if (self.get_param('username') and self.get_param('password')) or self.get_param('cookiefile'): if 'We\'ve suspended your account' in webpage: 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) userinfo = get_first(sjs_data, ( 'require', ..., ..., ..., '__bbox', 'define',