aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/lolisafe.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/lolisafe.py')
-rw-r--r--gallery_dl/extractor/lolisafe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/lolisafe.py b/gallery_dl/extractor/lolisafe.py
index 5233033..d17549d 100644
--- a/gallery_dl/extractor/lolisafe.py
+++ b/gallery_dl/extractor/lolisafe.py
@@ -25,7 +25,7 @@ BASE_PATTERN = LolisafeExtractor.update({
class LolisafeAlbumExtractor(LolisafeExtractor):
subcategory = "album"
- pattern = BASE_PATTERN + "/a/([^/?#]+)"
+ pattern = rf"{BASE_PATTERN}/a/([^/?#]+)"
example = "https://xbunkr.com/a/ID"
def __init__(self, match):
@@ -42,7 +42,7 @@ class LolisafeAlbumExtractor(LolisafeExtractor):
def items(self):
files, data = self.fetch_album(self.album_id)
- yield Message.Directory, data
+ yield Message.Directory, "", data
for data["num"], file in enumerate(files, 1):
url = file["file"]
file.update(data)