From 11131dc737fa9d3dd7c2948a2da433edd2c9be38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= <16480203+sundowndev@users.noreply.github.com> Date: Mon, 16 Mar 2020 17:43:44 +0000 Subject: [PATCH] fix: create intext tag --- google.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/google.go b/google.go index c1029b2..b1b9f11 100644 --- a/google.go +++ b/google.go @@ -15,6 +15,7 @@ const ( extTag = "ext:" excludeTag = "-" intitleTag = "intitle:" + intextTag = "intext:" ) // GoogleSearch is the Google implementation for Dorkgen @@ -65,7 +66,7 @@ func (e *GoogleSearch) Or() *GoogleSearch { // Intext searches for the occurrences of keywords all at once or one at a time. func (e *GoogleSearch) Intext(text string) *GoogleSearch { - e.tags = append(e.tags, concat("", text, true)) + e.tags = append(e.tags, concat(intextTag, text, true)) return e }