aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/tsumino.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/tsumino.py')
-rw-r--r--gallery_dl/extractor/tsumino.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/tsumino.py b/gallery_dl/extractor/tsumino.py
index 1ccdafb..2ac7e42 100644
--- a/gallery_dl/extractor/tsumino.py
+++ b/gallery_dl/extractor/tsumino.py
@@ -30,7 +30,7 @@ class TsuminoBase():
@cache(maxage=14*86400, keyarg=1)
def _login_impl(self, username, password):
self.log.info("Logging in as %s", username)
- url = f"{self.root}/Account/Login"
+ url = self.root + "/Account/Login"
headers = {"Referer": url}
data = {"Username": username, "Password": password}
@@ -119,9 +119,9 @@ class TsuminoSearchExtractor(TsuminoBase, Extractor):
def galleries(self):
"""Return all gallery results matching 'self.query'"""
- url = f"{self.root}/Search/Operate?type=Book"
+ url = self.root + "/Search/Operate?type=Book"
headers = {
- "Referer": f"{self.root}/",
+ "Referer": self.root + "/",
"X-Requested-With": "XMLHttpRequest",
}
data = {