diff options
| author | 2025-12-20 05:49:04 -0500 | |
|---|---|---|
| committer | 2025-12-20 05:49:04 -0500 | |
| commit | a24ec1647aeac35a63b744ea856011ad6e06be3b (patch) | |
| tree | ae94416de786aeddd05d99559098f7f16bb103a6 /gallery_dl/extractor/lolisafe.py | |
| parent | 33f8a8a37a9cba738ef25fb99955f0730da9eb48 (diff) | |
New upstream version 1.31.1.upstream/1.31.1
Diffstat (limited to 'gallery_dl/extractor/lolisafe.py')
| -rw-r--r-- | gallery_dl/extractor/lolisafe.py | 4 |
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) |
