diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py index 0bd0e9bea..f1daa1fd6 100644 --- a/yt_dlp/extractor/facebook.py +++ b/yt_dlp/extractor/facebook.py @@ -445,7 +445,7 @@ def _perform_login(self, username, password): try: login_results = self._download_webpage(request, None, note='Logging in', errnote='unable to fetch login page') - if self._html_search_regex(r'(Your Request Couldn\'t be Processed)', login_results, 'request error', default=None) is not None: + if "Your Request Couldn" in login_results: raise ExtractorError('Failed to perform login request.') if re.search(r'', login_results) is not None: