mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Merge bdc2852475 into b927482195
This commit is contained in:
commit
742230fa98
2 changed files with 12 additions and 4 deletions
|
|
@ -248,6 +248,8 @@ def update_attributes_for_tor(engine: Engine) -> bool:
|
|||
if using_tor_proxy(engine) and hasattr(engine, 'onion_url'):
|
||||
engine.search_url = engine.onion_url + getattr(engine, 'search_path', '')
|
||||
engine.timeout += settings['outgoing'].get('extra_proxy_timeout', 0)
|
||||
if hasattr(engine, 'ping_url'):
|
||||
engine.ping_url = engine.onion_url + getattr(engine, 'ping_path', '')
|
||||
|
||||
|
||||
def is_missing_required_attributes(engine):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue