-
-
Notifications
You must be signed in to change notification settings - Fork 951
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
[Feature request] Change extractor.*.keywords
to be format string
#5621
Comments
So something like yt-dlp's It is possible to achieve a similar function like those with a {
"name": "metadata",
"mode": "modify",
"event": "prepare",
"fields": {
"title": "{tag_string[:10]}"
}
} Not really command-line friendly, but it might be possible to add a command-line option similar to
Using the same name for the same type of fields across all sites is something I'd like to do for v2.0, so ... Soon ™️ |
Basically exactly what I needed, thank you so much! Totally missed this in the docs.
No rush! Thank you for entertaining my inquiry. I'll keep this issue open though in case you still wish to implement this or something similar to |
to allow evaluating 'keywords' values as format strings
I've added a |
Awesome! My only issue with using |
DataJob/ |
I'm unsure if this is feasible, but I find the
keywords
to not be as useful as I'd like since you're limited to only using plain strings. My personal use-case is normalizing certain keywords for use within a post-processor (which I currently do within the post-processor), but this would be useful too for normalizing values used within the config too. I currently have many filters and options in different sub/categories that only slightly differ due to different keywords per site, but allowing keywords to be derived from keywords would thusly allow standardization and simplification of the configuration file.The text was updated successfully, but these errors were encountered: