summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/kemonoparty.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-05-28 01:35:27 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-05-28 01:35:27 -0400
commit8950c0f2ef55ec2ed36b3fccc9fd85b64b877c3b (patch)
tree353c894306904849b05b4dacbb9ea0966f36bd95 /gallery_dl/extractor/kemonoparty.py
parentbff1d7a3fc1f184002ea6c6f77de675885bda3eb (diff)
New upstream version 1.25.5.upstream/1.25.5
Diffstat (limited to 'gallery_dl/extractor/kemonoparty.py')
-rw-r--r--gallery_dl/extractor/kemonoparty.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gallery_dl/extractor/kemonoparty.py b/gallery_dl/extractor/kemonoparty.py
index 33e8370..915fbe6 100644
--- a/gallery_dl/extractor/kemonoparty.py
+++ b/gallery_dl/extractor/kemonoparty.py
@@ -125,10 +125,12 @@ class KemonopartyExtractor(Extractor):
def login(self):
username, password = self._get_auth_info()
if username:
- self._update_cookies(self._login_impl(username, password))
+ self._update_cookies(self._login_impl(
+ (username, self.cookiedomain), password))
@cache(maxage=28*24*3600, keyarg=1)
def _login_impl(self, username, password):
+ username = username[0]
self.log.info("Logging in as %s", username)
url = self.root + "/account/login"