HTML parser written in pure Rust,no-std
[dependencies]
loa = "0.1.3"
```rust
fn main() {
let html = includestr!("../index.html");
use loa::getelementsbytagname;
use loa::Getattribute;
let avec: Vec = getelementsbytagname(html, "a");
if let Some(next) = avec
.iter()
.filter(|s| s.contains("Next page"))
.collect::>()
.get(0)
{
let href = next.getattribute("href");
let class = next.get_attribute("class");
println!("{}", href);
println!("{}", class);
}
}
```