# Scraper using Scrap
This project uses the `rusty-scrap` crate in Rust to scrape data from Wikipedia pages. Specifically, it targets the page.
## Usage
This script scrapes the text content of elements from the specified URL.
Dependencies:
Ensure you have Rust and Cargo installed. Then, add the `scrap` crate to your `Cargo.toml` file:
```toml
[dependencies]
rusty-scrap = "0.3"
```
Run the script:
1. Save the following code as `main.rs`:
```rust
use rusty-scrap::{Scrap};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Scrap::new()
.url("https://en.wikipedia.org/wiki/Bill_Gates")
.build()
.element_values();
Ok(())
}
```
2. Compile and run using Cargo:
```bash
cargo run
```