Creating a web-crawler project using Nodejs
-
Crawls web pages for links.
-
Outputs a report with URLs and their frequency on the page.
- Nodejs
- Jest (unit testing)
- Clone Repository
git clone https://github.com/AhmedMagedC/web-crawler-project.git
- Navigate to the project directory
cd web-crawler-project
- Install dependencies
npm install
npm start website-url
======================
REPORT
======================
URL (www.example.com) appeared 2 times
URL (www.example.com/page) appeared 3 times
URL (www.example.com/404) appeared 1 time (Status: 404)
...
======================
END REPORT
======================