sitemap-crawler

command module
v0.0.0-...-9bc74ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 11 Imported by: 0

README

Sitemap Crawler for SEO (Search Engine Optimization)

A Go-based sitemap crawler that automates the extraction of SEO data from websites. It is designed to efficiently retrieve URLs, page titles, H1 tags, and meta descriptions from the sitemaps of specified websites.

Features

  • Automatic Sitemap Discovery: Discovers and parses sitemaps from a given base URL.
  • SEO Data Extraction: Retrieves crucial SEO metrics such as page titles, H1 tags, and meta descriptions.
  • Concurrency Support: Manages multiple URLs concurrently to speed up the crawling process.
  • robots.txt: Adheres to the directives specified in robots.txt files to ensure compliant web scraping.

Getting Started

Prerequisites
  • Go (Golang) installed on your machine.
Installation

Clone the repository to your local machine:

git clone https://github.com/Dev-29/sitemap-crawler.git
cd sitemap-crawler
Usage

Run the program with the following command:

go run main.go -baseurl "https://example.com/"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL