mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-04-17 21:07:25 +02:00
[instagram] Fix bug in ab2ffab22d02d530e0b46f9e361ff53a2139898b (#1403)
Authored by: u-spec-png
This commit is contained in:
parent
f2fe69c7b0
commit
ad64a2323f
@ -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…
x
Reference in New Issue
Block a user