From 6e7119fa4e8f5eef1dbfcd8dfb88d72ef84fba08 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 7 May 2025 10:25:47 +0200 Subject: [PATCH] [fix] references from searx.botdetection.http_sec_fetch (#4723) --- docs/src/searx.botdetection.rst | 2 +- searx/botdetection/http_sec_fetch.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/searx.botdetection.rst b/docs/src/searx.botdetection.rst index 1c3e12dad..f967b1a84 100644 --- a/docs/src/searx.botdetection.rst +++ b/docs/src/searx.botdetection.rst @@ -53,7 +53,7 @@ Probe HTTP headers .. automodule:: searx.botdetection.http_user_agent :members: -.. automodule:: searx.botdetection.sec_fetch +.. automodule:: searx.botdetection.http_sec_fetch :members: .. _botdetection config: diff --git a/searx/botdetection/http_sec_fetch.py b/searx/botdetection/http_sec_fetch.py index 536fbbd3f..ead798b5e 100644 --- a/searx/botdetection/http_sec_fetch.py +++ b/searx/botdetection/http_sec_fetch.py @@ -12,10 +12,10 @@ Metadata`_. A request is filtered out in case of: .. _Fetch Metadata: https://developer.mozilla.org/en-US/docs/Glossary/Fetch_metadata_request_header -.. Sec-Fetch-Dest: +.. _Sec-Fetch-Dest: https://developer.mozilla.org/en-US/docs/Web/API/Request/destination -.. Sec-Fetch-Mode: +.. _Sec-Fetch-Mode: https://developer.mozilla.org/en-US/docs/Web/API/Request/mode