npm.io
1.0.0 • Published 3 years ago

scapegpt

Licence
ISC
Version
1.0.0
Deps
8
Size
9 kB
Vulns
0
Weekly
0

Scrape GPT

Use GPT-4 to scrape any remote website based on a URL. This is a simple wrapper around the OpenAI API that allows you to scrape any website using GPT-4.

Installation

npm i scrapegpt

Usage

const scrape = require('scrapegpt');

const url = 'https://www.bbc.com/news/world-us-canada-57982050';

scrape(url).then((result) => {
  console.log(result);
});

Resources