@ -63,6 +63,10 @@ class InstagramBaseIE(InfoExtractor):
ifnotlogin.get('authenticated'):
iflogin.get('message'):
raiseExtractorError(f'Unable to login: {login["message"]}')
eliflogin.get('user'):
raiseExtractorError('Unable to login: Sorry, your password was incorrect. Please double-check your password.',expected=True)
eliflogin.get('user')isFalse:
raiseExtractorError('Unable to login: The username you entered doesn\'t belong to an account. Please check your username and try again.',expected=True)