mechaml

AuthorYann Hamdaoui <yann.hamdaoui@gmail.com>
LicenseLGPL v3
Homepagehttps://github.com/yannham/mechaml
Issue Trackerhttps://github.com/yannham/mechaml/issues
MaintainerYann Hamdaoui <yann.hamdaoui@gmail.com>
Dependencies
&alcotest>= 0.8.0
cohttp>= 0.21.0&1.0
cohttp-lwt
cohttp-lwt-unix
lambdasoup0.7.0
lwt
ocamlbuild
ocamlfind
uri
Availableocaml-version >= "4.03.0"
PublishedAug 21, 2017
Source [http] https://github.com/yannham/mechaml/archive/1.0.0.tar.gz
eae9ae1c4614447314de681018886030
StatisticsInstalled 6 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mechaml/mechaml.1.0.0/opam

Functional web scraping library based on Cohttp, Lambdasoup and Lwt

Mechaml is a web scraping library that allows to :

  • Fetch web content
  • Analyze, fill and submit HTML forms
  • Handle cookies, headers and redirections

Mechaml is built on top of existing libraries that provide low-level features : Cohttp (https://github.com/mirage/ocaml-cohttp) and Lwt (https://github.com/ocsigen/lwt) for asynchronous I/O and HTTP handling, and Lambdasoup (https://github.com/aantron/lambda-soup) to parse HTML. It provides an interface that handles the interactions between these and add a few other features.

No package is dependent