From ddc6688af532dbcc0289d7385936ccf767667fa8 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Mon, 18 Oct 2021 22:37:28 -0500 Subject: [PATCH] Add link to register available domain with namecheap --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 693af64..f638a77 100644 --- a/main.go +++ b/main.go @@ -72,6 +72,7 @@ func getSites(largest int, wd selenium.WebDriver) (sites []HatsSite, err error) result, err := whoisparser.Parse(query_result) if err == whoisparser.ErrNotFoundDomain { hatsSite.Available = true + hatsSite.Notes = template.HTML(fmt.Sprintf("Register at NameCheap", hatsSite.DomainName)) sites = append(sites, hatsSite) continue } else if err != nil {