From f3ab726ceced4ca9ba197f7e85ef609567fd4559 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Tue, 25 Feb 2025 15:38:33 -0700 Subject: Add missing handling for 4get and LibreY, remove LibreX --- services/mappings.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'services/mappings.go') diff --git a/services/mappings.go b/services/mappings.go index 0099ecd..8766863 100644 --- a/services/mappings.go +++ b/services/mappings.go @@ -97,6 +97,20 @@ var regexMap = []RegexMapping{ Pattern: regexp.MustCompile(`genius\.com|dumb`), Targets: []string{"dumb"}, }, + { + // 4get + // Note: Could be used for redirecting other search engine + // requests, but would need special handling + Pattern: regexp.MustCompile("4get"), + Targets: []string{"4get"}, + }, + { + // LibreY + // Note: Could be used for redirecting other search engine + // requests, but would need special handling + Pattern: regexp.MustCompile("librex|librey"), + Targets: []string{"librey"}, + }, } func MatchRequest(service string) (string, error) { -- cgit v1.2.3