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:
parent
69726fc82c
commit
4cedf378d5
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user