Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eze-kiel/go-scraper

a simple web scraper in go
https://github.com/eze-kiel/go-scraper

content-scraper go golang web-scraping

Last synced: 4 days ago
JSON representation

a simple web scraper in go

Awesome Lists containing this project

README

        

# go-scraper

A web scraper bot in Go.

## Usage
```
simplest usage :
go-scraper -t
```

## Options
```
-t : URL to scrap
-type : content type that will be scraped. Types are detailed in the Types section
```

## Types
`url` : default value. Scrap all the links on the page

`img` : scrap all the links to images

`script` : scrap all the links to scripts

`mail` : scrap all the mailto: links

`style` : scrap all imported stylesheets

`comments` : scrap all HTML comments