skyscraper 0.7.0

XPath for HTML web scraping
Documentation
1
2
3
4
5
6
7
8
9
10
use criterion::Criterion;
use skyscraper::xpath;

pub fn benchmark_xpath_parse(c: &mut Criterion) {
    c.bench_function("xpath parse", |b| {
        b.iter(|| {
            xpath::parse("//div[@class='BorderGrid-cell']/div[@class=' text-small']/a").unwrap();
        })
    });
}