Easy functional HTML scraping and manipulation with CSS selectors

Install

Authors

Maintainers

Sources

0.7.3.tar.gz
md5=32899855e10d2a4219a7a5927edc2608

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.

Published: 16 Oct 2021

Dependencies (3)

  1. ocaml >= "4.02.0" & < "5.0"
  2. markup >= "1.0.0"
  3. dune >= "2.7.0"

Dev Dependencies (2)

  1. ounit2 with-test
  2. bisect_ppx dev & >= "2.5.0"

Used by (13)

  1. calculon-web
  2. camyll < "0.4.2"
  3. dream >= "1.0.0~alpha2"
  4. dream-livereload
  5. dream-serve
  6. gradescope_submit
  7. mechaml >= "1.2.1"
  8. memtrace_viewer < "v0.15.0"
  9. minima-theme
  10. plist < "1.0.0"
  11. river >= "0.2"
  12. soupault < "1.9.0" | >= "1.13.0"
  13. virtual_dom >= "v0.14.0"

Conflicts

    None