0.1.8 • Published 3 years ago
caterpillar-crawl v0.1.8
Caterpillar Crawl
Caterpillar crawl is a web scraping tool that makes easy to quickly validate large amounts of data on your websites.
- Check for 200 responses on all your site's resources and pages
- Coming soon: Quickly all of your redirects
Installation
npm install caterpillar-crawl
Usage
Status Checker
Status checker is a tool that will request and parse a sitemap.xml file (or any HTML page), and make HTTP requests to all of the links it finds, returning their status codes. The utility outputs all the results to a json file.
statusChecker(options)
options
<Object>
Example Usage
import { statusChecker } from "caterpillar-crawl";
const config = {
url: "https://www.sitename.com/sitemap.xml",
path: "./examples/results.json",
};
statusChecker(config);