[extractor/weverse] Avoid unnecessary duplicate login

Authored by: bashonly
pull/7171/head
bashonly 1 year ago
parent f8f9250fe2
commit fd5d93f704
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -34,6 +34,9 @@ class WeverseBaseIE(InfoExtractor):
}
def _perform_login(self, username, password):
if self._API_HEADERS.get('Authorization'):
return
headers = {
'x-acc-app-secret': '5419526f1c624b38b10787e5c10b2a7a',
'x-acc-app-version': '2.2.6',

Loading…
Cancel
Save