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

Hopefully the minimum string length is configurable. #920

Open
paper opened this issue Oct 31, 2024 · 0 comments
Open

Hopefully the minimum string length is configurable. #920

paper opened this issue Oct 31, 2024 · 0 comments

Comments

@paper
Copy link

paper commented Oct 31, 2024

// If this paragraph is less than 25 characters, don't even count it.
var innerText = this._getInnerText(elementToScore);
if (innerText.length < 25) {
    return;
}

Hello, Is the 25 here configurable? Because some websites have short paragraphs with less than 25 words.

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

1 participant