tatooine
v3.1.1
Published
A powerful scraper for JavaScript Developers
Downloads
22
Readme
tatooine: A powerful scraper for JavaScript Developers
Installation
$ npm install tatooine --save
Demo
How to use
import { scrape } from "tatooine"
const data = await scrape({
url: "https://betomuniz.com",
engine: "html",
options: {
selectors: { title: { selector: "title" } },
},
})
Built-in Engines
- 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.)
Extended Features
- Transformer Plugins - Create your own pre/post data processing flows.