Adds Whoogle.nor search provider

This commit is contained in:
James Magahern
2021-11-29 10:55:55 -10:00
parent 9bbf238382
commit 3ba35c70a6
2 changed files with 6 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ class SearchProvider
URL(string: "http://searx.nor/search?q=\(query.sanitized())&categories=general")!
})
static let whoogle = SearchProvider(resolver: { query in
URL(string: "http://whoogle.nor/search?q=\(query.sanitized())")!
})
func searchURLWithQuery(_ query: String) -> URL {
return resolver(query)
}