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

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2017 Mike Fährmann
# Copyright 2015-2018 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -18,6 +18,7 @@ class NijieExtractor(AsynchronousExtractor):
category = "nijie"
directory_fmt = ["{category}", "{artist_id}"]
filename_fmt = "{category}_{artist_id}_{image_id}_p{index:>02}.{extension}"
archive_fmt = "{image_id}_{index}"
cookiedomain = "nijie.info"
popup_url = "https://nijie.info/view_popup.php?id="