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.
- 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.
- Go (Golang) installed on your machine.
Clone the repository to your local machine:
git clone https://github.com/Dev-29/sitemap-crawler.git
cd sitemap-crawler
Run the program with the following command:
go run main.go -baseurl "https://example.com/"