Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wojtekmach/req_easyhtml
Req plugin for EasyHTML.
https://github.com/wojtekmach/req_easyhtml
Last synced: 17 days ago
JSON representation
Req plugin for EasyHTML.
- Host: GitHub
- URL: https://github.com/wojtekmach/req_easyhtml
- Owner: wojtekmach
- Created: 2022-05-15T22:51:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T04:07:02.000Z (3 months ago)
- Last Synced: 2024-10-13T09:58:29.061Z (about 1 month ago)
- Language: Elixir
- Size: 13.7 KB
- Stars: 22
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ReqEasyHTML
[Req](https://github.com/wojtekmach/req) plugin for [EasyHTML](https://github.com/wojtekmach/easyhtml).
## Usage
```elixir
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[]
# Elixir is a dynamic, functional language for building scalable and maintainable applications.
#
```