Skip to content

A Node.js scraper that will do requests to scrape JSON data of all Kosovo Trash Reports in trashout.ngo.

Notifications You must be signed in to change notification settings

opendatakosovo/trashout-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trashout-scraper

A Node.js scraper that will do requests to scrape JSON data of all Kosovo Trash Reports in trashout.ngo.

Technologies used:

  • Server-side scripting: NodeJS
  • Database: MongoDB
  • API Request Library: request-promise
  • Data Format: JSON

Prerequisites

  • Node

Setup

Note: You have to get your API key from trashout and then insert it in both scripts.

  1. Install dependencies
npm install

Note: The app contains two scrapers. You can run both of them using either the scrape.js or scrape-cluster.js as mentioned below.

  1. Run Server
node scrape.js

or

node scrape-cluster.js

Developed by Adonis Murati

About

A Node.js scraper that will do requests to scrape JSON data of all Kosovo Trash Reports in trashout.ngo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published