propagate 'match' to base extractor constructor

This commit is contained in:
Mike Fährmann
2019-02-11 13:31:10 +01:00
parent ade86da7a1
commit 4b1880fa5e
70 changed files with 150 additions and 155 deletions

View File

@@ -70,7 +70,7 @@ class BehanceGalleryExtractor(BehanceExtractor):
)
def __init__(self, match):
BehanceExtractor.__init__(self)
BehanceExtractor.__init__(self, match)
self.gallery_id = match.group(1)
def items(self):
@@ -134,7 +134,7 @@ class BehanceUserExtractor(BehanceExtractor):
})
def __init__(self, match):
BehanceExtractor.__init__(self)
BehanceExtractor.__init__(self, match)
self.user = match.group(1)
def galleries(self):
@@ -162,7 +162,7 @@ class BehanceCollectionExtractor(BehanceExtractor):
})
def __init__(self, match):
BehanceExtractor.__init__(self)
BehanceExtractor.__init__(self, match)
self.collection_id = match.group(1)
def galleries(self):