From 7003e61d1de70383232dd867ac1c348b2ff8b088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 22 May 2020 01:26:58 +0200 Subject: [PATCH] add a few more examples to gallery-dl-example.conf - include 'igneous' and 'hath_perks' in Exhentai cookies - add an example of how to write DeviantArt description to file - add a 'path-restrict' mapping from invalid characters in Windows paths to Unicode alternatives (taken from #662) --- docs/gallery-dl-example.conf | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/gallery-dl-example.conf b/docs/gallery-dl-example.conf index 9b77d550..d84febde 100644 --- a/docs/gallery-dl-example.conf +++ b/docs/gallery-dl-example.conf @@ -48,7 +48,9 @@ "cookies": { "ipb_member_id": "12345", - "ipb_pass_hash": "1234567890abcdef" + "ipb_pass_hash": "1234567890abcdef", + "igneous" : "123456789", + "hath_perks" : "m1.m2.m3.a-123456789a" }, "proxy": @@ -74,6 +76,19 @@ }] }, + "deviantart": + { + "include": "gallery,scraps", + "metadata": true, + "postprocessors": [{ + "name": "metadata", + "mode": "custom", + "directory" : "Descriptions", + "content-format" : "{description}\n", + "extension-format": "descr.txt" + }] + }, + "flickr": { "access-token": "1234567890-abcdef", @@ -134,6 +149,19 @@ "foolfuuka": { "fireden-onion": {"root": "http://ydt6jy2ng3s3xg2e.onion"}, "scalearchive": {"root": "https://archive.scaled.team" } + }, + + "replace invalid path characters with unicode alternatives": null, + "path-restrict": { + "\\": "⧹", + "/" : "⧸", + "|" : "│", + ":" : "꞉", + "*" : "∗", + "?" : "?", + "\"": "″", + "<" : "﹤", + ">" : "﹥" } },