Skip to content
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

NoFallback key in extractors #1968

Open
iTsMaaT opened this issue Jan 22, 2025 · 0 comments
Open

NoFallback key in extractors #1968

iTsMaaT opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@iTsMaaT
Copy link
Contributor

iTsMaaT commented Jan 22, 2025

Describe the feature you would like

Have extractors have a noFallback key, which if true, will make dp not try auto stream fallback if said extractor was detected as the one that handles the query.

Expected behavior

For example, one of my extractor can handle certain links, but no other extractor can, so if my extractpr detects the query but somehow fails, it could be good to have the option to not fallback, as to save ressources and make the search resolve faster, especially with a lot of extractors that do multiple link resolves

Screenshots

Additional context

This could also be good for my tts extractor, as it's only ever supposed to be called by protocol, and theres no reason for fallback to happen if it fails, as the query is not supposed to be a search

@iTsMaaT iTsMaaT added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant