tatooine
TypeScript icon, indicating that this package has built-in type declarations

3.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tatooine

Weekly Downloads

5

Version

3.1.1

License

MIT

Unpacked Size

62.4 kB

Total Files

44

Last publish

Collaborators

  • obetomuniz