Skip to content
A scraper endpoint in wasm on Terrafirma
Rust
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cargo First commit Nov 8, 2019
src First commit Nov 8, 2019
.gitignore First commit Nov 8, 2019
Cargo.toml First commit Nov 8, 2019
README.md Credit https://rust-scraper.now.sh/ Nov 8, 2019

README.md

Terra Firma Scraper

This a web scraper that utilises Servo — a high performance browser engine from Mozilla. You pass in a public URL and a CSS selector through its query parameters, and it returns scraped data.

Forked from https://rust-scraper.now.sh/ but compiled to Wasm to run in TerraFirma.

Usage

Use it here

Examples

Setup

First setup Terrafirma with keybase by following the hello world tutorial.

cargo build --release
cp target/wasm32-unknown-unknown/release/terrafirma_scraper.wasm /keybase/private/<your-keybase-username>,kbwasm/scraper.wasm
You can’t perform that action at this time.