Re-added .google search result scraper and set it as the default again. Also added versioning to searches.yml as it was forgotten previously

This commit is contained in:
Kwoth
2022-06-14 13:18:35 +02:00
parent f42deda3e2
commit 64b2a46c95
13 changed files with 187 additions and 76 deletions

View File

@@ -25,7 +25,7 @@ public sealed class SearxSearchService : SearchServiceBase, INService
return instances[_rng.Next(0, instances.Count)];
}
public override async ITask<SearxSearchResult> SearchAsync(string query)
public override async ITask<SearxSearchResult> SearchAsync(string? query)
{
ArgumentNullException.ThrowIfNull(query);