Skip to content

lawzava/emailscraper

Repository files navigation

GolangCI Version Go Report Card Coverage Status Go Reference

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

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)
}

About

Minimalistic library to scrape emails from websites with headless browser support.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages