Socket
Book a DemoInstallSign in
Socket

geonode-scraper-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geonode-scraper-api

Geonode Scraper API lib

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
15
-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

Geonode Scraper API Node SDK

Geonode 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 install GeonodeScraperApi

Usage

The GeonodeScraperApi Node SDK is a wrapper around the axios library. Geonode supports POST requests.

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>...
*/


Keywords

Geonode

FAQs

Package last updated on 02 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts