mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Fixes an issue where startpage engine would display parsing error (`json.decoder.JSONDecodeError`) when returning CAPTCHA redirect page. The fix simply checks if response header has `Location` set, and if it starts with `https://www.startpage.com/sp/captcha`, it will raise a CAPTCHA exception before trying to parse the data.
17 KiB
17 KiB