aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/soundgasm.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/soundgasm.py')
-rw-r--r--gallery_dl/extractor/soundgasm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/soundgasm.py b/gallery_dl/extractor/soundgasm.py
index 7c75aaa..79ab74d 100644
--- a/gallery_dl/extractor/soundgasm.py
+++ b/gallery_dl/extractor/soundgasm.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2022-2023 Mike Fährmann
+# Copyright 2022-2025 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -58,7 +58,7 @@ class SoundgasmAudioExtractor(SoundgasmExtractor):
self.user, self.slug = match.groups()
def sounds(self):
- return ("{}/u/{}/{}".format(self.root, self.user, self.slug),)
+ return (f"{self.root}/u/{self.user}/{self.slug}",)
class SoundgasmUserExtractor(SoundgasmExtractor):
@@ -69,7 +69,7 @@ class SoundgasmUserExtractor(SoundgasmExtractor):
def __init__(self, match):
SoundgasmExtractor.__init__(self, match)
- self.user = match.group(1)
+ self.user = match[1]
def sounds(self):
page = self.request(self.root + "/user/" + self.user).text