use nos::Document; fn main() { let html = r#" "#; let document = Document::from(html); let items = document.select("ul").select("li"); for item in items.iter() { println!("{}", item.html()); println!("{}", item.text()); } }