← All repos

lambdasoup

Functional HTML scraping and rewriting with CSS in OCaml

csshtmlocamlscrapingsoup
Browse cluster: HTML Parsing & Error Tracking
147commits
13contributors
6languages

Tech stack & purpose

Lambda Soup is a functional HTML scraping and manipulation library for OCaml designed for ease of use. It provides elementary traversals for navigating HTML nodes and familiar functional combinators like filter, map, and fold, along with support for CSS selectors. The library is built on Markup.ml, which gives it the ability to resolve entity references, detect character encodings automatically, and convert everything to UTF-8, and it can also be used for XML parsing. The project was originally created by Anton Bachin to answer a Stack Overflow question in November 2015.

Community & reference links

Languages

OCaml
82.2%
HTML
15.4%
Makefile
1.5%
Python
0.8%
Dune
0.0%
Standard ML
0.0%

Contributors