$ npm install tatooine --save
import { scrape } from "tatooine"
const data = await scrape({
url: "https://betomuniz.com",
engine: "html",
options: {
selectors: { title: { selector: "title" } },
},
})
- HTML (e.g. Web Scraping)
- SPA (e.g. Web Scraping for Single Page Applications)
- JSON (e.g. Web Services, APIs, etc.)
- XML (e.g. RSS, APIs, etc.)
- Transformer Plugins - Create your own pre/post data processing flows.
- Engine Plugins - Create your own engine process using Tatooine runtime ecosystem.