Expand description
The macro which converts a struct or tuple into one which is able to be scraped easily.
An example of this would be here:
#[derive(Scraper)]
pub struct RedditListItem {
#[scrape(xpath = r#"//a[@data-click-id="body"]/@href"#)]
pub urls: Vec<String>
}
Derive Macrosยง
- Scraper
- The macro which converts a struct or tuple into one which is able to be scraped easily.