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

Option to ignore elements with CSS selectors #8

Open
pawamoy opened this issue Jan 31, 2022 · 1 comment
Open

Option to ignore elements with CSS selectors #8

pawamoy opened this issue Jan 31, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pawamoy
Copy link
Owner

pawamoy commented Jan 31, 2022

Is your feature request related to a problem? Please describe.
Some HTML elements should not be checked, see #5, #6 and #7.

Describe the solution you'd like
Instead of #5, #6 and #7, we could add an option to ignore elements by selecting them with CSS selectors.
I guess we would need a library for that, because I don't have the ability to write a full, correct CSS selector.
It might also be hard to fit this in the HTML stripper.

Describe alternatives you've considered
Simple options like #5, #6 and #7.

Additional context
/

@pawamoy pawamoy added the enhancement New feature or request label Jan 31, 2022
@Archmonger
Copy link

On the note of this issue, if you decide to develop this I highly recommend using lxml for performing CSS selector queries.

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

2 participants