Skip to content

kris-dev-hub/node-sitemap-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sitemap-generator

Sitemap generator that is scraping all links with puppeteer and generate sitemap.xml out of the data.

It validates all links, exclude links to files and broken pages.

Installation

clone the repo

cd into repo directory

run npm install

Usage

run npm start

You can parse the website in many cycles. Just restart the script. To generate new sitemap and clean all the data erase files in db/ directory.