[instagram] Fix bug in ab2ffab22d (#1403)

Authored by: u-spec-png
pull/1415/head
u-spec-png 3 years ago committed by GitHub
parent f2fe69c7b0
commit ad64a2323f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save