Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.06 KB

Repl.it Scraper

Repl.it scraper built with WebDriverJS (Selenium for Node.js).

Initial code from webdriverjs-recipes.

Used by Random Repl.

Prerequisites

Installation

Clone repository:

$ git clone https://github.com/remarkablegames/repl.it-scraper.git
$ cd repl.it-scraper

If you're using nvm, you can set your node version:

$ nvm use

Install dependencies:

$ npm install

Scripts

Available Scripts

In the project directory, you can run:

npm start

Opens a Chrome browser, finds the list of top contributors on the homepage, and gets the links of their pinned/most recent repls.

npm run clean

Removes JSON files in output folder.

License

MIT