summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authoruseralias <212567668+useralias@users.noreply.github.com>2025-05-23 07:01:10 -0400
committerGitHub <noreply@github.com>2025-05-23 13:01:10 +0200
commit4fa7de80334deee51845550c4cfa11f94edb5e88 (patch)
treeb5df2e9d3cb0435019d4e5e30708ce7fb9371b02 /searx/webapp.py
parent98badc9cd0cfd00405014f843de7dd883d75ecca (diff)
[refactor] duckduckgo engine: improve request logic and code structure (#4837)
Changes: - Add trailing slash to base URL to prevent potential redirects - Remove advanced search syntax filtering (no longer guarantees a CAPTCHA) - Correct pagination offset calculation: Page 2 now starts at offset 10, subsequent pages use 10 + (n-2)*15 formula instead of the previous broken 20 + (n-2)*50 calculation that caused CAPTCHAs - Restructure request parameter building to better match a real request - "kt" cookie is no longer an empty string if the language/region is "all" - Group related parameter assignments together - Add header logging to debugging output Related: - https://github.com/searxng/searxng/issues/4824
Diffstat (limited to 'searx/webapp.py')
0 files changed, 0 insertions, 0 deletions