Skip to content

remarkablemark/repl.it-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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