From ebdfcd3cd3f76534a590ba08933ff7ea54813316 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 24 Dec 2022 17:14:46 -0500 Subject: New upstream version 1.24.2. --- gallery_dl/extractor/lolisafe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gallery_dl/extractor/lolisafe.py') diff --git a/gallery_dl/extractor/lolisafe.py b/gallery_dl/extractor/lolisafe.py index 9caf6d7..5d236c3 100644 --- a/gallery_dl/extractor/lolisafe.py +++ b/gallery_dl/extractor/lolisafe.py @@ -23,7 +23,7 @@ BASE_PATTERN = LolisafeExtractor.update({ "xbunkr": { "root": "https://xbunkr.com", "pattern": r"xbunkr\.com", - } + }, }) @@ -47,9 +47,9 @@ class LolisafeAlbumExtractor(LolisafeExtractor): self.album_id = match.group(match.lastindex) domain = self.config("domain") - if domain is None or domain == "auto": + if domain == "auto": self.root = text.root_from_url(match.group(0)) - else: + elif domain: self.root = text.ensure_http_scheme(domain) def items(self): -- cgit v1.2.3