mirror of https://github.com/searxng/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
When initing engines a "SearxEngineResponseException" is logged very verbose, including full traceback information: ERROR:searx.engines:yggtorrent engine: Fail to initialize Traceback (most recent call last): File "share/searx/searx/engines/__init__.py", line 293, in engine_init init_fn(get_engine_from_settings(engine_name)) File "share/searx/searx/engines/yggtorrent.py", line 42, in init resp = http_get(url, allow_redirects=False) File "share/searx/searx/poolrequests.py", line 197, in get return request('get', url, **kwargs) File "share/searx/searx/poolrequests.py", line 190, in request raise_for_httperror(response) File "share/searx/searx/raise_for_httperror.py", line 60, in raise_for_httperror raise_for_captcha(resp) File "share/searx/searx/raise_for_httperror.py", line 43, in raise_for_captcha raise_for_cloudflare_captcha(resp) File "share/searx/searx/raise_for_httperror.py", line 30, in raise_for_cloudflare_captcha raise SearxEngineCaptchaException(message='Cloudflare CAPTCHA', suspended_time=3600 * 24 * 15) searx.exceptions.SearxEngineCaptchaException: Cloudflare CAPTCHA, suspended_time=1296000 For SearxEngineResponseException this is not needed. Those types of exceptions can be a normal use case. E.g. for CAPTCHA errors like shown in the example above. It should be enough to log a warning for such issues: WARNING:searx.engines:yggtorrent engine: Fail to initialize // Cloudflare CAPTCHA, suspended_time=1296000 closes: #2612 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
4 years ago | |
---|---|---|
.. | ||
1337x.py | 4 years ago | |
__init__.py | 4 years ago | |
acgsou.py | 4 years ago | |
ahmia.py | 4 years ago | |
apkmirror.py | 4 years ago | |
archlinux.py | 4 years ago | |
arxiv.py | 4 years ago | |
base.py | 4 years ago | |
bing.py | 4 years ago | |
bing_images.py | 4 years ago | |
bing_news.py | 4 years ago | |
bing_videos.py | 4 years ago | |
btdigg.py | 4 years ago | |
ccengine.py | 4 years ago | |
command.py | 4 years ago | |
currency_convert.py | 4 years ago | |
dailymotion.py | 4 years ago | |
deezer.py | 4 years ago | |
deviantart.py | 4 years ago | |
dictzone.py | 4 years ago | |
digbt.py | 4 years ago | |
digg.py | 4 years ago | |
doku.py | 4 years ago | |
duckduckgo.py | 4 years ago | |
duckduckgo_definitions.py | 4 years ago | |
duckduckgo_images.py | 4 years ago | |
duden.py | 4 years ago | |
dummy-offline.py | 4 years ago | |
dummy.py | 4 years ago | |
ebay.py | 4 years ago | |
elasticsearch.py | 4 years ago | |
etools.py | 4 years ago | |
fdroid.py | 4 years ago | |
flickr.py | 4 years ago | |
flickr_noapi.py | 4 years ago | |
framalibre.py | 4 years ago | |
freesound.py | 4 years ago | |
frinkiac.py | 4 years ago | |
genius.py | 4 years ago | |
gentoo.py | 4 years ago | |
gigablast.py | 4 years ago | |
github.py | 4 years ago | |
google.py | 4 years ago | |
google_images.py | 4 years ago | |
google_news.py | 4 years ago | |
google_scholar.py | 4 years ago | |
google_videos.py | 4 years ago | |
ina.py | 4 years ago | |
invidious.py | 4 years ago | |
json_engine.py | 4 years ago | |
kickass.py | 4 years ago | |
loc.py | 4 years ago | |
mediathekviewweb.py | 4 years ago | |
mediawiki.py | 4 years ago | |
microsoft_academic.py | 4 years ago | |
mixcloud.py | 4 years ago | |
not_evil.py | 4 years ago | |
nyaa.py | 4 years ago | |
opensemantic.py | 4 years ago | |
openstreetmap.py | 4 years ago | |
pdbe.py | 4 years ago | |
peertube.py | 4 years ago | |
photon.py | 4 years ago | |
piratebay.py | 4 years ago | |
pubmed.py | 4 years ago | |
qwant.py | 4 years ago | |
recoll.py | 4 years ago | |
reddit.py | 4 years ago | |
rumble.py | 4 years ago | |
scanr_structures.py | 4 years ago | |
searchcode_code.py | 4 years ago | |
searx_engine.py | 4 years ago | |
sepiasearch.py | 4 years ago | |
seznam.py | 4 years ago | |
soundcloud.py | 4 years ago | |
spotify.py | 4 years ago | |
stackoverflow.py | 4 years ago | |
startpage.py | 4 years ago | |
tokyotoshokan.py | 4 years ago | |
torrentz.py | 4 years ago | |
translated.py | 4 years ago | |
unsplash.py | 4 years ago | |
vimeo.py | 4 years ago | |
wikidata.py | 4 years ago | |
wikipedia.py | 4 years ago | |
wolframalpha_api.py | 4 years ago | |
wolframalpha_noapi.py | 4 years ago | |
www1x.py | 4 years ago | |
xpath.py | 4 years ago | |
yacy.py | 4 years ago | |
yahoo.py | 4 years ago | |
yahoo_news.py | 4 years ago | |
yggtorrent.py | 4 years ago | |
youtube_api.py | 4 years ago | |
youtube_noapi.py | 4 years ago |