diff options
| author | 2022-12-24 17:14:46 -0500 | |
|---|---|---|
| committer | 2022-12-24 17:14:46 -0500 | |
| commit | ebdfcd3cd3f76534a590ba08933ff7ea54813316 (patch) | |
| tree | 35db6003766dff695cf8a5aa24f47629b602b7c0 /gallery_dl/extractor/lolisafe.py | |
| parent | 3338dfce719c999467ffe08fd45663be8190057a (diff) | |
New upstream version 1.24.2.upstream/1.24.2
Diffstat (limited to 'gallery_dl/extractor/lolisafe.py')
| -rw-r--r-- | gallery_dl/extractor/lolisafe.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |
