Browse Source

[fix] references from searx.botdetection.http_sec_fetch (#4723)

Markus Heiser 5 days ago
parent
commit
6e7119fa4e
2 changed files with 3 additions and 3 deletions
  1. 1 1
      docs/src/searx.botdetection.rst
  2. 2 2
      searx/botdetection/http_sec_fetch.py

+ 1 - 1
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:

+ 2 - 2
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