-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple examples #49
Comments
I have to admit that the "open Soup" directive in the README file and documentation completely leaves me blind about |
To fully avoid all the operators besides Soup.parse html_text
|> Soup.select_one "td._sibody"
|> Option.bind Soup.leaf_text
|> Option.map Float.of_string
|> Option.get
All the ones that aren't from the standard library are from
The
See the standard library and Lambda Soup documentation (all written in plain OCaml).
Could you adjust this to feel like it's jQuery instead? This is just ordinary "pipelining" or "chaining" as used in JS and throughout the programming world. |
Thanks for the example. I'll try to adapt some code I have to use it. |
Hello,
I don't know CSS, but it looks like your library can do what I need.
I would like some simple data extraction example.
If I have such an HTML text:
I would like to extract the TOTO float value (12.34).
How should I go about it?
Thanks a lot,
F.
The text was updated successfully, but these errors were encountered: