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

Blacklisting tags #1991

Open
Nikolas-Lehto opened this issue Jan 14, 2025 · 3 comments
Open

Blacklisting tags #1991

Nikolas-Lehto opened this issue Jan 14, 2025 · 3 comments

Comments

@Nikolas-Lehto
Copy link

How hard would it be to implement blacklisting tags? I'd be willing to participate in this, but I am not yet familiar with the codebase. Which parts of maigret would i need to modify? (e.g. how is filtering implemented in the webui etc.)

@overcuriousity
Copy link
Contributor

I will have a look at it later. But if I remember correct, the exclusion is just a thing which is either callable via the api or some --exclude flag, did you check maigret --help?

@Nikolas-Lehto
Copy link
Author

No,, i re-read trough the help, but you can only whitelist them.

@overcuriousity
Copy link
Contributor

I can confirm that the webinterface only calls functions already implemented in the main application, so blacklisting would need to be done there.
Technically it could be implemented in the web interface only, but I would rather not do that in order to avoid fragmentation of the codebase.

Generally it should be fairly easy to implement by removing specified sites from the tuple before the query is executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants