allendema / searxng

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
https://docs.searxng.org
GNU Affero General Public License v3.0
0 stars 1 forks source link

Use `extras` in settings to define engine specific settings #6

Open allendema opened 4 hours ago

allendema commented 4 hours ago

Is your feature request related to a problem? Please describe.

Use extras in settings to define engine specific settings.

...
extras:
  key: value
  suffix: site:example.org
  something_else: true

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Move engine specific key value pairs to extras dict.

lattaai13 commented 2 hours ago

Hello, I tried to solve the issue.

This is what I did:

Add an extras section to the settings.yml file to demonstrate how engine-specific settings can be defined.

You can review changes in this commit: https://github.com/lattaai13/allendema-searxng-6/commit/d7c124083458f76c1028a981dd6e34ccf50b68d1.

[!CAUTION] Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.