Skip to content

obetomuniz/tatooine

Repository files navigation

tatooine: A powerful scraper for JavaScript Developers

Installation

$ npm install tatooine --save

Demo

Try on Replit

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