summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/mappings.go14
1 files changed, 14 insertions, 0 deletions
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) {