|
|
@ -24,11 +24,11 @@ class GelbooruExtractor(XMLBooruExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, match, config):
|
|
|
|
def __init__(self, match, config):
|
|
|
|
XMLBooruExtractor.__init__(self, match, config, info)
|
|
|
|
XMLBooruExtractor.__init__(self, match, config, info)
|
|
|
|
self.api_url = "http://gelbooru.com/"
|
|
|
|
self.api_url = "http://gelbooru.com/"
|
|
|
|
self.params = {"page":"dapi", "s":"post", "q":"index", "tags":self.tags}
|
|
|
|
self.params = {"page":"dapi", "s":"post", "q":"index", "tags":self.tags}
|
|
|
|
|
|
|
|
|
|
|
|
def update_page(self, reset=False):
|
|
|
|
def update_page(self, reset=False):
|
|
|
|
if reset is False:
|
|
|
|
if reset is False:
|
|
|
|
self.params["pid"] += 1
|
|
|
|
self.params["pid"] += 1
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.params["pid"] = 0
|
|
|
|
self.params["pid"] = 0
|
|
|
|