[3dbooru] update to new format

This commit is contained in:
Mike Fährmann
2015-11-21 01:48:44 +01:00
parent 70a6599904
commit 1bce63124b
2 changed files with 23 additions and 20 deletions

View File

@@ -17,13 +17,15 @@ import urllib.parse
class BooruExtractor(Extractor):
info = {}
params = {"limit": 50}
headers = {}
page = "page"
api_url = ""
category = ""
def __init__(self):
Extractor.__init__(self)
self.page = "page"
self.params = {"limit": 50}
self.headers = {}
def items(self):
yield Message.Version, 1