Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.73 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.73 KB

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