searxng/searx/engines
Markus Heiser 7f505bdc6f [fix] google: avoid unnecessary SearxEngineXPathException errors
Avoid SearxEngineXPathException errors when parsing non valid results::

    .//div[@class="yuRUbf"]//a/@href index 0 not found
    Traceback (most recent call last):
      File "./searx/engines/google.py", line 274, in response
        url = eval_xpath_getindex(result, href_xpath, 0)
      File "./searx/searx/utils.py", line 608, in eval_xpath_getindex
        raise SearxEngineXPathException(xpath_spec, 'index ' + str(index) + ' not found')
    searx.exceptions.SearxEngineXPathException: .//div[@class="yuRUbf"]//a/@href index 0 not found

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-28 10:08:50 +01:00
..
1337x.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
__init__.py [mod] split searx.search into different processors 2020-12-17 11:39:36 +01:00
acgsou.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
ahmia.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
apkmirror.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
archlinux.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
arxiv.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
base.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
bing.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
bing_images.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
bing_news.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
bing_videos.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
btdigg.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
command.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
currency_convert.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
dailymotion.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
deezer.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
deviantart.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
dictzone.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
digbt.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
digg.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
doku.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
duckduckgo.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
duckduckgo_definitions.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
duckduckgo_images.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
duden.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
dummy-offline.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
dummy.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
ebay.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
elasticsearch.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
etools.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
fdroid.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
flickr.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
flickr_noapi.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
framalibre.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
frinkiac.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
genius.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
gentoo.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
gigablast.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
github.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
google.py [fix] google: avoid unnecessary SearxEngineXPathException errors 2021-01-28 10:08:50 +01:00
google_images.py [fix] normalize the language & region aspects of all google engines 2021-01-28 10:08:46 +01:00
google_news.py [fix] normalize the language & region aspects of all google engines 2021-01-28 10:08:46 +01:00
google_videos.py [fix] normalize the language & region aspects of all google engines 2021-01-28 10:08:46 +01:00
ina.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
invidious.py Merge pull request #2451 from mrwormo/invidious-engine 2021-01-16 19:25:45 +01:00
json_engine.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
kickass.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
mediawiki.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
microsoft_academic.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
mixcloud.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
not_evil.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
nyaa.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
opensemantic.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
openstreetmap.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
pdbe.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
peertube.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
photon.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
piratebay.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
pubmed.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
qwant.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
recoll.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
reddit.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
scanr_structures.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
searchcode_code.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
searx_engine.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
sepiasearch.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
soundcloud.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
spotify.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
stackoverflow.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
startpage.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
tokyotoshokan.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
torrentz.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
translated.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
unsplash.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
vimeo.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
wikidata.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
wikipedia.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
wolframalpha_api.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
wolframalpha_noapi.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
www1x.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
xpath.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
yacy.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
yahoo.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
yahoo_news.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
yandex.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
yggtorrent.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
youtube_api.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00
youtube_noapi.py [enh] engines: add about variable 2021-01-14 20:57:17 +01:00