Gallery-DL Folder Iteration - How to Create Variable Sub-Directories / continue past null api calls?

' "aryion": { "archive": "C:/Gallery_DL/~Download_Logs/Archive_Aryion.sqlite3", "username":, "password":, "recursive": true, "#": "aryion structures user posts like a filesystem; this duplicates subfolders...", "#": "but it's not perfect. It reaches to 4 layers deep, but anything NOT in a subfolder-", "directory": { "{path[0]}": ["aryion", "{artist}_Aryion", "{path[0]}"], "{path[1]}": ["aryion", "{artist}_Aryion", "{path[0]}", "{path[1]}"], "{path[2]}": ["aryion", "{artist}_Aryion", "{path[0]}", "{path[1]}", "{path[2]}"], "{path[3]}": ["aryion", "{artist}_Aryion", "{path[0]}", "{path[1]}", "{path[2]}", "{path[3]}"], "": ["aryion", "{artist}_Aryion"] }, "filename": "{filename[:70]}_{title[:70]}.{extension}", "postprocessors": [ { "name": "metadata", "mode": "json", "#": "write data for every post instead of each individual file", "event": "file", "archive": "C:/Gallery_DL/~Download_Logs/Archive_Aryion_Metadata.sqlite3" } ]'

/r/DataHoarder Thread