https://github.com/lawzava/emailscraper
Minimalistic library to scrape emails from websites with headless browser support.
https://github.com/lawzava/emailscraper
email go golang hacktoberfest headless scraping
Last synced: about 1 year ago
JSON representation
Minimalistic library to scrape emails from websites with headless browser support.
- Host: GitHub
- URL: https://github.com/lawzava/emailscraper
- Owner: lawzava
- License: mit
- Created: 2021-03-06T16:33:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T12:07:07.000Z (over 2 years ago)
- Last Synced: 2025-05-07T07:13:37.872Z (about 1 year ago)
- Topics: email, go, golang, hacktoberfest, headless, scraping
- Language: Go
- Homepage: https://pkg.go.dev/github.com/lawzava/emailscraper
- Size: 64.5 KB
- Stars: 26
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README

[](https://github.com/lawzava/emailscraper/releases)
[](https://goreportcard.com/report/github.com/lawzava/emailscraper)
[](https://coveralls.io/github/lawzava/emailscraper?branch=main)
[](https://pkg.go.dev/github.com/lawzava/emailscraper)
# emailscraper
Minimalistic library to scrape emails from websites.
Requires chromium or google-chrome available in environment for JS render utilization.
## Installation
```
go get github.com/lawzava/emailscraper
```
## Usage
```go
package main
import (
"fmt"
"github.com/lawzava/emailscraper"
)
func main() {
s := emailscraper.New(emailscraper.DefaultConfig())
extractedEmails, err := s.Scrape("https://lawzava.com")
if err != nil {
panic(err)
}
fmt.Println(extractedEmails)
}
```