Skip to content

Rework datasheet updaters into plugins #6

@moonburnt

Description

@moonburnt

It seems like no-intro has implemented new captcha that broke related updater. Again. At this point, I feel like these should be moved into optional plugins. This would allow to both implement support for custom datasheet sources and to update or throw legacy updaters away (in situations like this one), without the need to update whole utility.

I'd imagine this to be done via decorator + abstract class combo, where abstract class specifies basic functionality required from plugin (probably just functions to download the raw database and to parse it into native python dictionary), while decorator would be used to put plugin into some named storage, from which it could be accessible to the rest of program.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions