Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pop-os/url-scraper

Rust crate for scraping URLs from HTML pages
https://github.com/pop-os/url-scraper

Last synced: 12 days ago
JSON representation

Rust crate for scraping URLs from HTML pages

Awesome Lists containing this project

README

        

# url-scraper

Rust crate for scraping URLs from HTML pages.

## Example

```rust
extern crate url_scraper;
use url_scraper::UrlScraper;

fn main() {
let directory = "http://phoronix.com/";

let scraper = UrlScraper::new(directory).unwrap();
for (text, url) in scraper.into_iter() {
println!("{}: {}", text, url);
}
}
```