searx: use new configuration style

This commit is contained in:
Michele Guerini Rocco 2020-11-02 02:04:54 +01:00
parent 6ab0e6cda2
commit 1186168341
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -276,16 +276,16 @@
default_doi_resolver = "sci-hub.se";
# Use authenticated APIs for some services
engines = [
{ name = "wolframalpha";
api_key = "@WOLFRAM_API_KEY@";
engine = "wolframalpha_api";
}
{ name = "youtube";
api_key = "@YOUTUBE_API_KEY@";
engine = "youtube_api";
}
];
engines = {
wolframalpha =
{ api_key = "@WOLFRAM_API_KEY@";
engine = "wolframalpha_api";
};
youtube =
{ api_key = "@YOUTUBE_API_KEY@";
engine = "youtube_api";
};
};
};
};