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

@@ -29,7 +29,7 @@ class BooruExtractor(SharedConfigMixin, Extractor):
sort = False
def __init__(self, match):
super().__init__()
super().__init__(match)
self.params = {}
self.extags = self.post_url and self.config("tags", False)
@@ -87,7 +87,7 @@ class BooruExtractor(SharedConfigMixin, Extractor):
return {}
def extended_tags(self, image, page=None):
"""Rerieve extended tag information"""
"""Retrieve extended tag information"""
if not page:
url = self.post_url.format(image["id"])
page = self.request(url).text