Mix.install([
{:req, "~> 0.4.0"},
{:req_easyhtml, "~> 0.1.0"}
])
req =
(Req.new()
|> ReqEasyHTML.attach())
Req.get!(req, url: "https://elixir-lang.org").body[".entry-summary h5"]
#=>
# #EasyHTML[<h5>
# Elixir is a dynamic, functional language for building scalable and maintainable applications.
# </h5>]
-
Notifications
You must be signed in to change notification settings - Fork 0
wojtekmach/req_easyhtml
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|