1
0
Fork 0
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:
bashonly 2025-02-19 14:22:06 -06:00
parent cfd3bb0038
commit 678caffa58
No known key found for this signature in database
GPG key ID: 783F096F253D15B0

View file

@ -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