lambdasoup

Easy functional HTML scraping and manipulation with CSS selectors
Description

Lambda Soup is an HTML scraping library inspired by Python's Beautiful Soup. It provides lazy traversals from HTML nodes to their parents, children, siblings, etc., and to nodes matching CSS selectors. The traversals can be manipulated using standard functional combinators such as fold, filter, and map.

The DOM tree is mutable. You can use Lambda Soup for automatic HTML rewriting in scripts. Lambda Soup rewrites its own ocamldoc page this way.

A major goal of Lambda Soup is to be easy to use, including in interactive sessions, and to have a minimal learning curve. It is a very simple library.

Install
Published
16 Oct 2021
Authors
Maintainers
Sources
0.7.3.tar.gz
md5=32899855e10d2a4219a7a5927edc2608
Dependencies
ounit2 with-test
bisect_ppx dev & >= "2.5.0"
ocaml >= "4.02.0" & < "5.0"
markup >= "1.0.0"
dune >= "2.7.0"
Reverse Dependencies