Skip to content

wojtekmach/req_easyhtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReqEasyHTML

Req plugin for EasyHTML.

Usage

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>]

About

Req plugin for EasyHTML.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages