0.1.12 • Published 4 months ago

@devell/web-extractor v0.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Web Extractor

This library is made to make AI agents operate on web easier. It scraps the page of given url, and returns an object oriented structure, that includes key elements, such as links, buttons, and text articles.

Usage

Install

yarn add @devell/web-extractor

Use in the code

import { extract } from "@devell/web-extractor";

const view = extract("https://example.com");

// to access links

const links = view.links;

for (const link of links) {
    console.log(`There is a link with text ${link.text}, at coordinates ${link.x}, ${link.y}")
}

Upcoming features

There will be probably interaction of navigation between the pages, more content to extract and anything that will pop up while using this library.

0.1.11

4 months ago

0.1.12

4 months ago

0.1.10

4 months ago

0.1.9

4 months ago

0.1.8

4 months ago

0.1.7

4 months ago

0.1.6

4 months ago

0.1.5

4 months ago

0.1.4

4 months ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.1

4 months ago

0.1.0

4 months ago