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