Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ericz99/go-crawler

Simple lightweight crawler, that will find all endpoints on any website.
https://github.com/ericz99/go-crawler

crawler golang

Last synced: about 1 month ago
JSON representation

Simple lightweight crawler, that will find all endpoints on any website.

Awesome Lists containing this project

README

        

## go-crawler

Will crawl through the website, and scrape all endpoints, paths, hashtags, etc.

## Installation

Installation is done using `go get`.

```
go get -u github.com/ericz99/go-crawler
```

## Example

```golang
package example

import (
crawler "github.com/ericz99/go-crawler"
)

func main() {
// # create a crawler instance
spider := crawler.Crawler{}
// # crawl the page
result, domain := spider.Crawl("https://kith.com/")
// # download result
spider.Download(result, domain)
}
```

## Todo

- [ ] Find all links base on regex, instead of relying on goquery

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details