OptionalExcludeCSS selectors to remove. Applied after IncludeSelectors. Use for the blocks that
survive the include (inline ad slots, share widgets, cookie banners).
OptionalIncludeKeep alt text from images as content. Default: false.
OptionalIncludeCSS selectors whose content is the ONLY content to keep. When set, everything outside these selectors is discarded before any exclusion is applied.
This is the highest-leverage knob for messy sources: pointing at .article-body
removes navigation, sidebars, and advertising in one stroke, without having to
enumerate every block you don't want.
OptionalMaxMaximum characters to retain; content beyond this is dropped. Unset = no limit.
OptionalNormalizeCollapse runs of whitespace and blank lines. Default: true.
OptionalReplaceReplace the built-in exclusion list rather than adding to it. Default: false (caller selectors are appended to DEFAULT_HTML_EXCLUDE_SELECTORS).
Options specific to HtmlContentCleaner.