-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] get reddit metadata without category transfer for DirectlinkExtractor. #6703
Comments
Kind of, but you don't need to check for {
"extractor": {
"reddit>directlink": {
"filename": {
"domain == 'cdn.imgchest.com' and reddit_metadata['subcategory'] == 'user'": "...",
"domain == 'cdn.imgchest.com'" : "..."
}
}
}
} |
Okay. |
Yes, because this URL matches gallery-dl/gallery_dl/extractor/imgur.py Line 65 in 454f766
|
I'm asking logical reason, not technical. |
Idea: Use a Idea 2: Support subcategories for parent extractor categories, e.g. |
There is no special extractor for
|
Well, specifically for this case it would be better. But it general it just would make config a little bit prettier, because users probably wouldn't have more domains in directlink extractor config (in my case this one domain would be the only domain that I need to set, so no problem to make simple check without this feature).
This one probably would be better in general for app because users would be able to split easier. As for me, I don't have many checks and splits by subcategory>subextractor, so couple checks don't really stand out in my config. I will refactor my config and change from Also quick question. If I have config:
Will be postprocessor from |
It will. All settings from |
Thanks. All right then. Feel free to close this issue. |
Also question. Sorry, if I should create new issue. Is it possible to trigger both extractors archive instead of subextractor archive? Unless default format for reddit archive doesn't contains submission id. In that case nevermind. |
Archives currently record only downloaded files. Since the Reddit post does not directly contain a file, it can not and does not get recorded. The archive would also not be checked before processing the Reddit post. |
Sorry that I'm still writing to closed issue. This one fall under CatboxFileExtractor instead of direct link, when there is no difference between extracted metadata from link from first post:
and this one:
They both are direct links, they both have same metadata fields but one fall under specific extractor, and other one under general extractor, when, in my opinion, there shouldn't be differences. |
NSFW: https://www.reddit.com/r/SauceSharingCommunity/comments/1gjuyzr/sauce_please/
So, before mass purge from imgur even if submission on reddit was imgur direct link, I set in reddit extractor
"parent-metadata": "reddit_metadata",
and for imgur extractor:It worked fine for imgur and redgif extractors.
But I can't get the same for imgchest. No matter what I do for imagechest extractor (copied from -K for random post on imgchest.com), gallery-dl always spawn DirectlinkExtractor and set
.\cdn.imgchest.com_files_w7w6cw5o8gy.jpg
filename instead for filename from my config for imagechest extractor (config works fine if I download albums/posts from imgchest.com links).I can't use category-transfer because I set similar (as imgur) config for redgif, where I need both reddit metadata and redgif metadata. So. How can I solve this situation?
Do I need now to create config for directlink extractor and check if
domain == cdn.imgchest.com
and then check for'reddit_metadata' in locals()
and duplicate config from imagechest extractor to directlink extractor?The text was updated successfully, but these errors were encountered: