1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[deviantart] fix AttributeError for URLs without username (#5065)

caused by 4f367145
This commit is contained in:
Mike Fährmann 2024-01-15 16:28:57 +01:00
parent 69726fc82c
commit 4cedf378d5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -38,7 +38,7 @@ class DeviantartExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self, match)
self.user = (match.group(1) or match.group(2)).lower()
self.user = (match.group(1) or match.group(2) or "").lower()
self.offset = 0
def _init(self):