Skip to content

Commit

Permalink
[common] fix Logger names of BaseCategory extractors
Browse files Browse the repository at this point in the history
update of d11ec00
fixes regressions introduced in 0c17884
  • Loading branch information
mikf committed Jul 12, 2024
1 parent 668219b commit 6110e3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gallery_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,11 @@ class BaseExtractor(Extractor):
instances = ()

def __init__(self, match):
Extractor.__init__(self, match)
if not self.category:
self.groups = match.groups()
self.match = match
self._init_category()
self._cfgpath = ("extractor", self.category, self.subcategory)
Extractor.__init__(self, match)

def _init_category(self):
for index, group in enumerate(self.groups):
Expand Down

0 comments on commit 6110e3f

Please sign in to comment.