[instagram] Fix bug in ab2ffab22d (#1403)

Authored by: u-spec-png
This commit is contained in:
u-spec-png 2021-10-24 16:31:33 +00:00 committed by GitHub
parent f2fe69c7b0
commit ad64a2323f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,8 @@ class InstagramIE(InfoExtractor):
def _login(self):
username, password = self._get_login_info()
if username is None:
return
login_webpage = self._download_webpage(
'https://www.instagram.com/accounts/login/', None,