set 'archive_fmt' values

These are going to be used to create an unique id for each image.
This commit is contained in:
Mike Fährmann
2018-01-30 22:49:16 +01:00
parent 84a52a9256
commit 34873dbd90
47 changed files with 120 additions and 64 deletions

View File

@@ -20,6 +20,7 @@ class BooruExtractor(SharedConfigExtractor):
"""Base class for all booru extractors"""
basecategory = "booru"
filename_fmt = "{category}_{id}_{md5}.{extension}"
archive_fmt = "{id}"
api_url = ""
per_page = 50
page_start = 1