1
0
mirror of https://github.com/searx/searx synced 2025-02-23 07:07:42 +01:00
Alexandre Flament d703119d3a [enh] add raise_for_httperror
check HTTP response:
* detect some comme CAPTCHA challenge (no solving). In this case the engine is suspended for long a time.
* otherwise raise HTTPError as before

the check is done in poolrequests.py (was before in search.py).

update qwant, wikipedia, wikidata to use raise_for_httperror instead of raise_for_status
2020-12-11 14:37:08 +01:00
..
2020-07-28 13:10:40 +02:00
2020-06-28 11:40:04 +02:00