mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
_dont_perform_login
Authored by: bashonly
This commit is contained in:
parent
cfd3bb0038
commit
678caffa58
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ def _id_to_pk(shortcode):
|
||||||
|
|
||||||
|
|
||||||
class InstagramBaseIE(InfoExtractor):
|
class InstagramBaseIE(InfoExtractor):
|
||||||
# _NETRC_MACHINE = 'instagram' # Login is broken, disabling until it is fixed
|
# _NETRC_MACHINE = 'instagram'
|
||||||
_IS_LOGGED_IN = False
|
_IS_LOGGED_IN = False
|
||||||
|
|
||||||
_API_BASE_URL = 'https://i.instagram.com/api/v1'
|
_API_BASE_URL = 'https://i.instagram.com/api/v1'
|
||||||
|
@ -52,7 +52,7 @@ class InstagramBaseIE(InfoExtractor):
|
||||||
'Accept': '*/*',
|
'Accept': '*/*',
|
||||||
}
|
}
|
||||||
|
|
||||||
def _perform_login(self, username, password):
|
def _dont_perform_login(self, username, password): # Login is broken, disabling until it is fixed
|
||||||
if self._IS_LOGGED_IN:
|
if self._IS_LOGGED_IN:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue