From ee65f3de437b2d782d4d05765ecf93aa6ce19387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 2 Jan 2024 15:03:04 +0100 Subject: [PATCH] [docs] add parent>child example (#4621) --- docs/gallery-dl-example.conf | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/gallery-dl-example.conf b/docs/gallery-dl-example.conf index c3f80493..cda584e3 100644 --- a/docs/gallery-dl-example.conf +++ b/docs/gallery-dl-example.conf @@ -176,16 +176,15 @@ "imgur": { - "#": "use different directory and filename formats when coming from a reddit post", - "directory": - { - "'_reddit' in locals()": [] - }, - "filename": - { - "'_reddit' in locals()": "{_reddit[id]} {id}.{extension}", - "" : "{id}.{extension}" - } + "#": "general imgur settings", + "filename": "{id}.{extension}" + }, + + "reddit>imgur": + { + "#": "special settings for imgur URLs found in reddit posts", + "directory": [], + "filename": "{_reddit[id]} {_reddit[title]} {id}.{extension}" }, "tumblr":