Skip to content

Consider switching away from readability for HTML cleaning #326

Description

@emschwartz

I'm building a project that isn't using Kalosm but I started off using readability, in part because I saw that you all were using it.

I ended up putting together a little tool to compare different HTML-to-text crates and found that readability seems to have some catastrophic misses where it fails to find the main content. It might be worth switching to something like dom_smoothie, which seems to perform better.

You can find my write-up here: https://emschwartz.me/comparing-13-rust-crates-for-extracting-text-from-html/

And the tool here: https://github.com/emschwartz/html-to-text-comparison

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions