mov-cli icon indicating copy to clipboard operation
mov-cli copied to clipboard

[FEATURE] Auto try the next scraper if the default fails.

Open THEGOLDENPRO opened this issue 1 year ago • 3 comments

As the title says, we should try to scrape with the next scraper if the default one fails however the error for the first scraper should still be displayed to the user and they should be aware of the switch.

There should be a toggle in the config.toml to disable / enable this.

THEGOLDENPRO avatar Aug 20 '24 08:08 THEGOLDENPRO

I don't really see the point of adding this.

~~too lazy to retype the command? ~~

ananasmoe avatar Aug 20 '24 09:08 ananasmoe

I don't really see the point of adding this.

~~too lazy to retype the command? ~~

That isn't the reason actually, I'm completely fine without this feature.

Typically if your plugin has multiple providers you should make a scraper for each provider, that's the pattern and that is exactly what every plugin has done so far, which is good.

Now the reason for this feature is because I see many noobies that run the default scraper get surprised when the scraper returns no search results, and they aren't apparent to trying the other scrapers (or providers in this case) if those return the media they are querying for. Many new users don't even know that alternative scrapers exist.

This enchantment will help improve the UX in that regard by automatically calling the next scraper if the default one (and default one only) fails to query for results or return some.

THEGOLDENPRO avatar Aug 20 '24 16:08 THEGOLDENPRO

This needs to be documented in the wiki.

THEGOLDENPRO avatar Aug 31 '24 23:08 THEGOLDENPRO