Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 835 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 835 Bytes

Examples

First git clone https://github.com/spider-rs/spider.git and cd spider.

Basic

Simple concurrent crawl Simple.

  • cargo run --example example

Live handle index example Callback.

  • cargo run --example callback

Enable log output Debug.

  • cargo run --example debug

Scrape the webpage with and gather html Scrape.

  • cargo run --example scrape

Scrape and download the html file to fs Download HTML. *Note: Only HTML is downloaded.

  • cargo run --example download

Scrape and download html to react components and store to fs Download to React Component.

  • cargo run --example download_to_react

Crawl the page and output the links via Serde.

  • cargo run --example serde --features serde