Skip to content

Commit

Permalink
fix: fallback to parent _perform_login
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Sep 13, 2024
1 parent d32993f commit 9044ceb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yt_dlp_plugins/extractor/youtubeoauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ def _perform_login(self, username, password):
self._DEFAULT_CLIENTS = tuple(
c for c in getattr(self, '_DEFAULT_CLIENTS', []) if c not in self._OAUTH2_UNSUPPORTED_CLIENTS
) + self._OAUTH2_CLIENTS
return

return super()._perform_login(username, password)

def _create_request(self, *args, **kwargs):
request = super()._create_request(*args, **kwargs)
Expand Down

0 comments on commit 9044ceb

Please sign in to comment.