You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main gist is to use Html::parse_document(&my_html) and element.text().map(|s| s.chars()).flatten().collect() for the element nodes to get the text content. You can use the selector crate to use CSS selectors to get exactly what you want or just iterate over all the nodes of Html::parse_document.
Hi there @j-mendez initially thanks a lot for this spider awesome crate
i am using you example scrape.rs to scrape website and along with sublinks of that domain present in it
but it gives me raw html
i want to extract text from raw html provided via scrape any idea or advice is accepted
The text was updated successfully, but these errors were encountered: