-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: parent>child categories for child extractor options #4621
Comments
I assumed "for example an imgur album from a reddit thread with reddit>imgur" was a good enough example, but apparently not. Guess I should've added some actual documentation and an example to docs/gallery-dl.example.conf. It's for specifying options for child extractors, for example when processing the link to an imgur album found in a reddit thread, to make it no longer necessary to use conditional file and directory names like here. Instead you can now do the following and override all options and not just "imgur": {
"#": "general imgur options",
"filename": "{id}.{extension}"
},
"reddit>imgur": {
"#": "imgur options for links found on reddit",
"filename": "{_reddit[id]} {id}.{extension}"
} |
Thank you for explaining this mikf |
Yeah, I looked at docs but didn't find something about parent>child, so that's why this issue here. Mainly, I was confused with 'thread', because usually you say "child extractor" in config documentation Okay, thank you. So follow up question. Will I be able use metadata from both extractors or only from parent one? For example, I use reddit post id AND redgifs id in filename if I download submission from reddit that contains redgifs link. And second, how it will work with gfycat to redgif transition? Previously (before gfycat was closed and gallery had fix to redirect) I just pass down metadata and it was like reddit>gfycat>redgifs. And thank you. This is great feature. |
Yes, it's possible to use metadata from both extractors.
It should take the settings from RedGIFs, but have not tested this myself. |
How do I use reddit>imgur through the -o switch? I used it in the config file and it worked. But I have a configuration I don't want to put in my config file.
|
Can't you just use |
The |
No, I haven't and it will have to wait till v2.0. The current code base doesn't really allow for certain changes without having to basically rewrite (and potentially break) everything. |
Okay, just asking. |
Can you elaborate what is this, what for and how to use this?
The text was updated successfully, but these errors were encountered: