Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zauberware/url_checker

Quick lookup for HTTP Status codes of a Sitemap!
https://github.com/zauberware/url_checker

404-errors http-status-codes nokogiri ruby ruby-scraper ruby-script seo seo-analysis seo-monitor seotools sitemap sitemap-parser url-scraper

Last synced: about 2 months ago
JSON representation

Quick lookup for HTTP Status codes of a Sitemap!

Awesome Lists containing this project

README

        

# Quick lookup for HTTP Status codes

**Main goal: Lookup HTTP Status codes from a given sitemap.xml!**

This basic script scrapes all links from a sitemap URL and just prints out the given status. We use this script to detect 302 redirects and 404 status codes for websites.

## Installation

```
git clone [email protected]:zauberware/url_checker.git && cd url_checker
bundle install
```

## Usage

```
ruby url_checker.rb https://www.your-domain.com/sitemap.xml
```

Replace `https://www.your-domain.com/sitemap.xml` with your link.

## Does it work with subsets of sitemaps?

The answer is YES! (But only one level...)