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

https://github.com/codehakase/crawl

A simple sitemap scrapper written in Go
https://github.com/codehakase/crawl

Last synced: 10 months ago
JSON representation

A simple sitemap scrapper written in Go

Awesome Lists containing this project

README

          

# Crawl
A simple sitemap scrapper written in Go. Crawls a given url `u` and writes all
links (on same domain) to a `sitemap.xml` file.

## Installation
Via `go get`

```
$ go get github.com/codehakase/crawl
```

Run http server:
```
$ go build main.go

$ ./main # navigate to http://localhost:3000 to input url to crawl
```

Run from command line:
```
$ go run main.go https://example.com
```