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.
searxng/searx/engines
Ahmad Alkadri 7fc8d72889 [fix] bing: parsing result; check to see if the element contains links
This patch is to hardening the parsing of the bing response:

1. To fix [2087] check if the selected result item contains a link, otherwise
   skip result item and continue in the result loop.  Increment the result
   pointer when a result has been added / the enumerate that counts for skipped
   items is no longer valid when result items are skipped.

   To test the bugfix use:   ``!bi :all cerbot``

2. Limit the XPath selection of result items to direct children nodes (list
   items ``li``) of the ordered list (``ol``).

   To test the selector use: ``!bi :en pontiac aztek wiki``

   .. in the result list you should find the wikipedia entry on top,
   compare [2068]

[2087] https://github.com/searxng/searxng/issues/2087
[2068] https://github.com/searxng/searxng/issues/2068
1 year ago
..
9gag.py get the not cropped version of the thumbnail when the image height is not too important 2 years ago
1337x.py [format.python] initial formatting of the python code 2 years ago
__init__.py Fix: don't crash when engine or name is missing in settings.yml 1 year ago
ahmia.py [format.python] initial formatting of the python code 2 years ago
apkmirror.py [enh] add more categories 2 years ago
apple_app_store.py remove thumbnail from results 2 years ago
apple_maps.py add poi's website and phone number, doesn't crash when there is no `displayMapRegion`, query the token on the first request 2 years ago
archlinux.py [enh] add more categories 2 years ago
artic.py [format.python] initial formatting of the python code 2 years ago
arxiv.py Science category: update the engines 2 years ago
bandcamp.py [mod] bandcamp & genius: in result set img_src instead thumbnail 2 years ago
base.py [format.python] initial formatting of the python code 2 years ago
bing.py [fix] bing: parsing result; check to see if the element contains links 1 year ago
bing_images.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
bing_news.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
bing_videos.py fixed xpath selector for appropriate results 2 years ago
btdigg.py [format.python] initial formatting of the python code 2 years ago
command.py [format.python] initial formatting of the python code 2 years ago
core.py [fix] doc of the paper.html template (isbn, issn) 2 years ago
crossref.py [mod] science category: various update of about PR 1705 2 years ago
currency_convert.py [pylint] engines/currency_convert.py 2 years ago
dailymotion.py [format.python] based on bugfix in 9ed626130 2 years ago
deepl.py [mod] add deepl translation engine 2 years ago
deezer.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
demo_offline.py [format.python] initial formatting of the python code 2 years ago
demo_online.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
deviantart.py [format.python] initial formatting of the python code 2 years ago
dictzone.py [format.python] initial formatting of the python code 2 years ago
digbt.py [format.python] initial formatting of the python code 2 years ago
docker_hub.py [format.python] initial formatting of the python code 2 years ago
doku.py [fix] issues reported by pylint 2 years ago
duckduckgo.py Add HTTP Referer header to DuckDuckGo requests 1 year ago
duckduckgo_definitions.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
duckduckgo_images.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
duckduckgo_weather.py Fix floating point format in DDG weather humidity 2 years ago
duden.py [fix] engine duden - don't raise exception on empty result list 2 years ago
dummy-offline.py [format.python] initial formatting of the python code 2 years ago
dummy.py [enh] engines: add about variable 3 years ago
ebay.py [mod] Pass desired ebay domain in settings 2 years ago
elasticsearch.py [format.python] initial formatting of the python code 2 years ago
emojipedia.py [fix] emojipedia - update XPath to be relative 2 years ago
fdroid.py [enh] add more categories 2 years ago
flickr.py [format.python] initial formatting of the python code 2 years ago
flickr_noapi.py [format.python] initial formatting of the python code 2 years ago
framalibre.py [format.python] initial formatting of the python code 2 years ago
freesound.py [mod] result_templates/default.html replace embedded HTML by data_src audio_src 2 years ago
frinkiac.py [format.python] initial formatting of the python code 2 years ago
genius.py [mod] bandcamp & genius: in result set img_src instead thumbnail 2 years ago
gentoo.py [enh] add more categories 2 years ago
gigablast.py [enh] add more categories 2 years ago
github.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
google.py Switch back to protobuf for raw HTML 2 years ago
google_images.py [mod] google-images: slightly improvements of the engine 2 years ago
google_news.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
google_play_apps.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
google_scholar.py Science category: update the engines 2 years ago
google_videos.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
imdb.py [enh] move dictionaries, Erowid & IMDb out of general category 2 years ago
ina.py [fix] ina engine 2 years ago
invidious.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
jisho.py [format.python] based on bugfix in 9ed626130 2 years ago
json_engine.py [enh] Initial no paging support for Yep.com 2 years ago
kickass.py [format.python] initial formatting of the python code 2 years ago
lingva.py [mod] Adds Lingva translate engine 2 years ago
loc.py [format.python] initial formatting of the python code 2 years ago
mediathekviewweb.py [fix] engine mediathekviewweb: replace http links by https 2 years ago
mediawiki.py [format.python] initial formatting of the python code 2 years ago
meilisearch.py [pylint] engines: drop no longer needed 'missing-function-docstring' 3 years ago
metacpan.py Add MetaCPAN engine 2 years ago
mixcloud.py [mod] add artwork to mixcloud & soundcloud engines 2 years ago
mongodb.py [fix] pyright repported errors 2 years ago
mysql_server.py [fix] pyright repported errors 2 years ago
nyaa.py [format.python] initial formatting of the python code 2 years ago
opensemantic.py [enh] engines: add about variable 3 years ago
openstreetmap.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
openverse.py [fix] ccengine engine - avoid unwanted redirects 2 years ago
pdbe.py [format.python] initial formatting of the python code 2 years ago
peertube.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
petal_images.py [enh] Initial Petalsearch Images support 2 years ago
photon.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
piratebay.py [format.python] initial formatting of the python code 2 years ago
postgresql.py [fix] pyright repported errors 2 years ago
pubmed.py Science category: update the engines 2 years ago
qwant.py [mod] qwant - add safesearch option 2 years ago
recoll.py [format.python] initial formatting of the python code 2 years ago
reddit.py [format.python] initial formatting of the python code 2 years ago
redis_server.py [format.python] initial formatting of the python code 2 years ago
rumble.py [format.python] initial formatting of the python code 2 years ago
scanr_structures.py [format.python] initial formatting of the python code 2 years ago
searchcode_code.py [format.python] initial formatting of the python code 2 years ago
searx_engine.py reference docs.searxng.org 2 years ago
semantic_scholar.py [mod] science category: various update of about PR 1705 2 years ago
sepiasearch.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
seznam.py [enh] add more categories 2 years ago
sjp.py [fix] sjp engine - convert enginename to a latin1 compliance name 2 years ago
solidtorrents.py [fix] solidtorrents engine: store random bas_url in param 2 years ago
solr.py [format.python] initial formatting of the python code 2 years ago
soundcloud.py [mod] add artwork to mixcloud & soundcloud engines 2 years ago
spotify.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
springer.py [fix] springer: unsupported operand type(s) for +: 'NoneType' and 'str' 2 years ago
sqlite.py [format.python] initial formatting of the python code 2 years ago
stackexchange.py [format.python] initial formatting of the python code 2 years ago
startpage.py [fix] startpage engine 2 years ago
tineye.py [fix] engine tineye: handle 422 response of not supported img format 2 years ago
tokyotoshokan.py [format.python] initial formatting of the python code 2 years ago
torznab.py [format.python] initial formatting of the python code 2 years ago
translated.py [enh] move dictionaries, Erowid & IMDb out of general category 2 years ago
twitter.py add explanation of token 2 years ago
unsplash.py [format.python] initial formatting of the python code 2 years ago
vimeo.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
wikidata.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
wikipedia.py [mod] add 'Accept-Language' HTTP header to online processores 2 years ago
wolframalpha_api.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
wolframalpha_noapi.py [format.python] initial formatting of the python code 2 years ago
wordnik.py [format.python] initial formatting of the python code 2 years ago
wttr.py simplify infobox result 2 years ago
www1x.py [fix] 1x engine 2 years ago
xpath.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
yacy.py [format.python] initial formatting of the python code 2 years ago
yahoo.py [fix] FutureWarning from lxml 2 years ago
yahoo_news.py [fix] issues reported by pylint 2 years ago
youtube_api.py [mod] templates: rename field for <iframe> URL to iframe_src 2 years ago
youtube_noapi.py [fix] google & youtube - set EU consent cookie 2 years ago
zlibrary.py [fix] engine z-zlibrary https URL 2 years ago