Skip to content

About

An HTML parser designed for speed, though it hasn't been benchmarked or optimized yet. Works for me, though.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

65 Commits

Folders and files

Repository files navigation

Uncaring HTML Parser

An HTML parser designed for speed, though I haven't benchmarked it yet. Documentation is still pending. It searches HTML for matching tags without parsing the entire document or building a DOM.

Example usage

String html = "<a href='http://example.org/' class='link'>";

new Html(html).css("a.link").filter(a -> a.attr("href").contains("http:")).forEach(e -> {
    System.out.println(e.getTextContent() + " : " + e.attr("href"));
});

Repositories

I don't plan to publish the library to public Maven repositories, but you can add it as a dependency via JitPack.

About

An HTML parser designed for speed, though it hasn't been benchmarked or optimized yet. Works for me, though.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages