1.0.2 • Published 6 years ago
get-google-crawl-errors v1.0.2
Get Google Crawl Errors
A JavaScript library that allows you to get a list of urls and their error codes from the Google's webmasters crawl errors tool.
Why?
This tool is useful if you're trying to fix 404s errors on your website using Google Webmaster Tools. Instead of individually fixing each url, you could automate your redirect system using this tool. Navigate to the Google Webmasters Tool and run (copy/paste) the script.
Install
npm install --save get-google-crawl-errors
Usage
var getGoogleCrawlErrors = require('get-google-crawl-errors')
/**
* A list of errors.
* @type {Object}
* @property {String} url
* @property {Number} code
*/
var errors = getGoogleCrawlErrors.get()
License
MIT. Copyright (C) James Bechet