diff --git a/youtube_dl/extractor/vier.py b/youtube_dl/extractor/vier.py index 8d71a1e47..071bdd394 100644 --- a/youtube_dl/extractor/vier.py +++ b/youtube_dl/extractor/vier.py @@ -96,11 +96,13 @@ class VierIE(InfoExtractor): }), headers={'Content-Type': 'application/x-www-form-urlencoded'}) - if 'Gebruikersnaam of wachtwoord is onbekend' in login_page: - raise ExtractorError( - 'Unable to login: incorrect credentials', expected=True) - - self._logged_in = True + login_error = self._html_search_regex( + r'(?s)