select.rs
A library to extract useful data from HTML documents, suitable for web scraping.
Examples
from examples/stackoverflow.rs
use Document;
use ;
prints
# Menu
Questions ("/questions")
Tags ("/tags")
Users ("/users")
Badges ("/help/badges")
Unanswered ("/unanswered")
Ask Question ("/questions/ask")
# Top 5 Questions
Question: Applications and libraries written in Rust [closed]
Answers: 8
Votes: 67
Tagged: rust
Asked on: Feb 19 '12 at 14:39
Asker: Atom
Permalink: http://stackoverflow.com/questions/9350125/applications-and-libraries-written-in-rust
Question: How to debug Rust programs? [closed]
Answers: 6
Votes: 52
Tagged: rust
Asked on: Apr 8 '13 at 5:30
Asker: macropas
Permalink: http://stackoverflow.com/questions/15871885/how-to-debug-rust-programs
Question: How to access command line parameters?
Answers: 9
Votes: 51
Tagged: rust
Asked on: Mar 25 '13 at 15:59
Asker: shutefan
Permalink: http://stackoverflow.com/questions/15619320/how-to-access-command-line-parameters
Question: Why are explicit lifetimes needed in Rust?
Answers: 6
Votes: 48
Tagged: pointers, rust, static-analysis, lifetime
Asked on: Jul 24 at 11:15
Asker: jco
Permalink: http://stackoverflow.com/questions/31609137/why-are-explicit-lifetimes-needed-in-rust
Question: What is the difference between traits in Rust and typeclasses in Haskell?
Answers: 1
Votes: 46
Tagged: haskell, rust
Asked on: Jan 24 at 7:50
Asker: LogicChains
Permalink: http://stackoverflow.com/questions/28123453/what-is-the-difference-between-traits-in-rust-and-typeclasses-in-haskell
# Top 10 Related Tags
lifetime (165)
traits (83)
rust-cargo (79)
string (76)
ffi (62)
iterator (58)
multithreading (50)
generics (50)
arrays (49)
borrow-checker (47)
License
MIT