diff options
| author | 2022-02-10 22:51:06 -0500 | |
|---|---|---|
| committer | 2022-02-10 22:51:06 -0500 | |
| commit | d40f1b6c88f06d71d685b5c216f2c63d314dcb5c (patch) | |
| tree | 808b72655d12b10943bbd1ea67c2a1962fb33aac /docs/gallery-dl-example.conf | |
| parent | 72af53198131d7814b13c722466aa7abd5835bb1 (diff) | |
| parent | 99bc014c924c755f10a4a930b1a83efabd84fde1 (diff) | |
Update upstream source from tag 'upstream/1.20.4'
Update to upstream version '1.20.4'
with Debian dir c430b4f23b67c5441d118c1cb5ff3e6989eb5730
Diffstat (limited to 'docs/gallery-dl-example.conf')
| -rw-r--r-- | docs/gallery-dl-example.conf | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/docs/gallery-dl-example.conf b/docs/gallery-dl-example.conf index 72e7465..29b2507 100644 --- a/docs/gallery-dl-example.conf +++ b/docs/gallery-dl-example.conf @@ -6,6 +6,12 @@ "#": "set global archive file for all extractors", "archive": "~/gallery-dl/archive.sqlite3", + "#": "add two custom keywords into the metadata dictionary", + "#": "these can be used to further refine your output directories or filenames", + "keywords": {"bkey": "", "ckey": ""}, + "#": "make sure that custom keywords are empty, i.e. they don't appear unless specified by the user", + "keywords-default": "", + "#": "replace invalid path characters with unicode alternatives", "path-restrict": { "\\": "⧹", @@ -212,6 +218,74 @@ "#": "add two other foolfuuka 4chan archives", "fireden-onion": {"root": "http://ydt6jy2ng3s3xg2e.onion"}, "scalearchive" : {"root": "https://archive.scaled.team" } + }, + + "gelbooru_v01": + { + "#": "add a custom gelbooru_v01 instance", + "#": "this is just an example, this specific instance is already included!", + "allgirlbooru": {"root": "https://allgirl.booru.org"}, + + "#": "the following options are used for all gelbooru_v01 instances", + "tag": + { + "directory": { + "locals().get('bkey')": ["Booru", "AllGirlBooru", "Tags", "{bkey}", "{ckey}", "{search_tags}"], + "" : ["Booru", "AllGirlBooru", "Tags", "_Unsorted", "{search_tags}"] + } + }, + "post": + { + "directory": ["Booru", "AllGirlBooru", "Posts"] + }, + "archive": "~/gallery-dl/custom-archive-file-for-gelbooru_v01_instances.db", + "filename": "{tags}_{id}_{md5}.{extension}", + "sleep-request": [0, 1.2] + }, + + "gelbooru_v02": + { + "#": "add a custom gelbooru_v02 instance", + "#": "this is just an example, this specific instance is already included!", + "tbib": + { + "root": "https://tbib.org", + "#": "some sites have different domains for API access", + "#": "use the 'api_root' option in addition to the 'root' setting here" + } + }, + + "tbib": { + "#": "the following options are only used for TBIB", + "#": "gelbooru_v02 has four subcategories at the moment, use custom directory settings for all of these", + "tag": + { + "directory": { + "locals().get('bkey')": ["Other Boorus", "TBIB", "Tags", "{bkey}", "{ckey}", "{search_tags}"], + "" : ["Other Boorus", "TBIB", "Tags", "_Unsorted", "{search_tags}"] + } + }, + "pool": + { + "directory": { + "locals().get('bkey')": ["Other Boorus", "TBIB", "Pools", "{bkey}", "{ckey}", "{pool}"], + "" : ["Other Boorus", "TBIB", "Pools", "_Unsorted", "{pool}"] + } + }, + "favorite": + { + "directory": { + "locals().get('bkey')": ["Other Boorus", "TBIB", "Favorites", "{bkey}", "{ckey}", "{favorite_id}"], + "" : ["Other Boorus", "TBIB", "Favorites", "_Unsorted", "{favorite_id}"] + } + }, + "post": + { + "directory": ["Other Boorus", "TBIB", "Posts"] + }, + "archive": "~/gallery-dl/custom-archive-file-for-TBIB.db", + "filename": "{id}_{md5}.{extension}", + "sleep-request": [0, 1.2] } }, |
