Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.44 KB

Get Google Crawl Errors travis npm downloads

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 Search Console Tools. Instead of individually fixing each url, you could automate your redirect system using this script. Navigate to the Google Search Console Tools -> Indexing -> Pages -> Choose "Soft 404" for example -> then run (copy/paste) the script.

Install

npm install --save get-google-crawl-errors

Usage

var getGoogleCrawlErrors = require('get-google-crawl-errors')

/**
 * A list of error urls.
 * @type {String[]}
 */
var errorUrls = getGoogleCrawlErrors.get()

License

MIT. Copyright (C) James Bechet