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.
Published: 22 Apr 2020
Dependencies (5)
-
ounit
with-test
-
bisect_ppx
dev & >= "2.0.0"
-
ocaml
>= "4.02.0" & < "5.0"
-
markup
>= "0.7.1"
- dune
Reverse Dependencies (12)
- calculon-web
-
camyll
< "0.4.2"
-
dream
>= "1.0.0~alpha2"
- dream-livereload
- dream-serve
-
mechaml
>= "1.2.1"
-
memtrace_viewer
< "v0.15.0"
- minima-theme
-
plist
< "1.0.0"
-
river
>= "0.2"
-
soupault
< "1.9.0" | >= "1.13.0" & < "2.1.0"
-
virtual_dom
>= "v0.14.0"
Conflicts
-
None
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
0.7.1.tar.gz
md5=da9884ec354960d0c76e4bb834042fb8