Skip to content

mariazevedo88/reddit-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reddit-scraper

Web scraper/crawler of Reddit page

Build Setup

# install dependencies
yarn install

Running the application

First, you need to have an account in a mongoDB cloud solution, such as mLab or mongoDB.atlas.

With the account created, you should pass your email, used as a login, and your password as parameters. See the example below.

# running
node index.js -l"root" -p"blablabla@jsdjasd4r" -c"cluster0.mongodb.net"

The name of the created database is redditscraper.