Proper syntax for applying slice to parent passed to child filename formatting in config #5579
-
Hello, passing a parent from a reddit extractor to a, for example, imgur or redgifs extractor: my reddit extractor works fine with
but then my redgifs extractor doesn't like
and I'll see errors like
Do I need to be doing something different with the brackets? The files /seem/ to save correctly even though I'm getting the error, but I want to be sure I'm not going to be having issues in the future with that error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You might want to use "reddit>redgifs":
{
"directory": []
"filename": "{_reddit[id]}_{_reddit[title][:180]}{num:?-//>02}.{extension}"
} |
Beta Was this translation helpful? Give feedback.
{_reddit[title[:180]]}
should be{_reddit[title][:180]}
You might want to use
parent>child
as category, since that makes things a bit simpler: