rewrite extractors to use config-module

This commit is contained in:
Mike Fährmann
2015-10-05 15:35:48 +02:00
parent 608d3193a9
commit 3c13548f29
19 changed files with 54 additions and 56 deletions

View File

@@ -19,8 +19,8 @@ class BooruExtractor(SequentialExtractor):
api_url = ""
def __init__(self, match, config, info):
SequentialExtractor.__init__(self, config)
def __init__(self, match, info):
SequentialExtractor.__init__(self)
self.info = info
self.tags = text.unquote(match.group(1))
self.page = "page"