geonode-scraper-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Geonode Scraper API Node SDK

Geonode Scraper API is a web scraping API that handles headless browsers and rotates proxies for you. The Node SDK makes it easier to interact with Geonode API.

Installation

npm i geonode-scraper-api

Usage

Signup to Geonode to get your authentication details.

Making a GET request

const GeonodeScraperApi = require('geonode-scraper-api');

const scraper = new GeonodeScraperApi('<Your_username>', '<Your_password>');
scraper.scrape('https://geonode.com/')
    .then(res => {
        console.log('res :', res?.data?.html);
    })


/* -- output
    <!DOCTYPE html><html lang="en"><head>...
*/

Package Sidebar

Install

npm i geonode-scraper-api

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

29.7 kB

Total Files

11

Last publish

Collaborators

  • adirsemana