1
0
mirror of https://github.com/searx/searx synced 2025-02-13 10:20:36 +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-06-18 19:02:22 +02:00
2020-12-11 14:37:08 +01:00
2015-11-17 23:38:22 +01:00
2020-06-28 11:40:04 +02:00