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

Take length of node content into account #40

Open
psolbach opened this issue Sep 30, 2017 · 1 comment
Open

Take length of node content into account #40

psolbach opened this issue Sep 30, 2017 · 1 comment

Comments

@psolbach
Copy link

psolbach commented Sep 30, 2017

I saw menu structures of <ul> nodes pop up alongside the desired text body in libextract's results. This could be easily mitigated through defining a minimum threshold of node content length. Something like 15 characters possibly. Will do a PR if this is a wanted improvement. Not sure if the project is still alive.

@eugene-eeo
Copy link
Contributor

Hi, sure; please do write a PR if you have the time and also attach the differences in output, i.e. the output given by code prior to the PR and after the PR.

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