-
|
I am in China, the default search engine enabled by searxng is not available here, the only available search engine Bing redirects to cn.bing.com, so I would like to adjust the number of redirects for the search engine (the default is zero) to allow redirection. I am using Docker for deployment, what should I do?😥 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can change the URL for the bing: Line 70 in d456f3d In use_default_settings: true
...
engines:
- name: bing
engine: bing
base_url: "https://cn.bing.com/search"this should work as long as the HTML layout is identical. (I can't find the right parameter for the number of redirect: max_redirect is set to 30 by default) |
Beta Was this translation helpful? Give feedback.
You can change the URL for the bing:
searxng/searx/engines/bing.py
Line 70 in d456f3d
In
searxng/settings.yml:this should work as long as the HTML layout is identical.
(I can't find the right parameter for the number of redirect: max_redirect is set to 30 by default)