Skip to content

Web crawling using node.js and cheerio with mongodb as data storage

Notifications You must be signed in to change notification settings

Lakshitnagar/webCrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webCrawler

Web crawling using node.js and cheerio with mongodb as data storage

Steps

  1. Run mongoDB (Pre-requisite)
  2. Go to webCrawler directory and run $nodemon
  3. Go to browser enter http://localhost:3000/crawler (make sure nothing running on port 3000)
  4. You have to stop it "ctrl+c" otherwise it will go in infinite loop.

It will crawl https://python.org (to be simple) and data will store in mongoDB's "crawler" database and "nodes" document.

About

Web crawling using node.js and cheerio with mongodb as data storage

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published