mirror of https://github.com/searx/searx
05fe2ee093
* [fix] google engine: results XPath * [fix] google & youtube - set EU consent cookie This change the previous bypass method for Google consent using ``ucbcb=1`` (6face215b8) to accept the consent using ``CONSENT=YES+``. The youtube_noapi and google have a similar API, at least for the consent[1]. Get CONSENT cookie from google reguest:: curl -i "https://www.google.com/search?q=time&tbm=isch" \ -A "Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Firefox/102.0" \ | grep -i consent ... location: https://consent.google.com/m?continue=https://www.google.com/search?q%3Dtime%26tbm%3Disch&gl=DE&m=0&pc=irp&uxe=eomtm&hl=en-US&src=1 set-cookie: CONSENT=PENDING+936; expires=Wed, 24-Jul-2024 11:26:20 GMT; path=/; domain=.google.com; Secure ... PENDING & YES [2]: Google change the way for consent about YouTube cookies agreement in EU countries. Instead of showing a popup in the website, YouTube redirects the user to a new webpage at consent.youtube.com domain ... Fix for this is to put a cookie CONSENT with YES+ value for every YouTube request [1] https://github.com/iv-org/invidious/pull/2207 [2] https://github.com/TeamNewPipe/NewPipeExtractor/issues/592 Closes: https://github.com/searxng/searxng/issues/1432 * [fix] sjp engine - convert enginename to a latin1 compliance name The engine name is not only a *name* its also a identifier that is used in logs, HTTP headers and more. Unicode characters in the name of an engine could cause various issues. Closes: https://github.com/searxng/searxng/issues/1544 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> * [fix] engine tineye: handle 422 response of not supported img format Closes: https://github.com/searxng/searxng/issues/1449 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> * bypass google consent with ucbcb=1 * [mod] Adds Lingva translate engine Add the lingva engine (which grabs data from google translate). Results from Lingva are added to the infobox results. * openstreetmap engine: return the localized named. For example: display "Tokyo" instead of "東京都" when the language is English. * [fix] engines/openstreetmap.py typo: user_langage --> user_language Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> * Wikidata engine: ignore dummy entities * Wikidata engine: minor change of the SPARQL request The engine can be slow especially when the query won't return any answer. See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to Co-authored-by: Léon Tiekötter <leon@tiekoetter.com> Co-authored-by: Emilien Devos <contact@emiliendevos.be> Co-authored-by: Markus Heiser <markus.heiser@darmarit.de> Co-authored-by: Emilien Devos <github@emiliendevos.be> Co-authored-by: ta <alt3753.7@gmail.com> Co-authored-by: Alexandre Flament <alex@al-f.net> |
||
---|---|---|
.. | ||
1337x.py | ||
__init__.py | ||
ahmia.py | ||
apkmirror.py | ||
archlinux.py | ||
arxiv.py | ||
bandcamp.py | ||
base.py | ||
bing.py | ||
bing_images.py | ||
bing_news.py | ||
bing_videos.py | ||
btdigg.py | ||
command.py | ||
core.py | ||
currency_convert.py | ||
dailymotion.py | ||
deezer.py | ||
deviantart.py | ||
dictzone.py | ||
digbt.py | ||
digg.py | ||
doku.py | ||
duckduckgo.py | ||
duckduckgo_definitions.py | ||
duckduckgo_images.py | ||
duden.py | ||
dummy-offline.py | ||
dummy.py | ||
ebay.py | ||
elasticsearch.py | ||
emojipedia.py | ||
etools.py | ||
fdroid.py | ||
flickr.py | ||
flickr_noapi.py | ||
framalibre.py | ||
freesound.py | ||
frinkiac.py | ||
genius.py | ||
gentoo.py | ||
gigablast.py | ||
github.py | ||
google.py | ||
google_images.py | ||
google_news.py | ||
google_play_apps.py | ||
google_scholar.py | ||
google_videos.py | ||
imdb.py | ||
ina.py | ||
invidious.py | ||
json_engine.py | ||
kickass.py | ||
lingva.py | ||
loc.py | ||
mediathekviewweb.py | ||
mediawiki.py | ||
meilisearch.py | ||
microsoft_academic.py | ||
mixcloud.py | ||
mongodb.py | ||
mysql_server.py | ||
nyaa.py | ||
onesearch.py | ||
opensemantic.py | ||
openstreetmap.py | ||
openverse.py | ||
pdbe.py | ||
peertube.py | ||
photon.py | ||
piratebay.py | ||
postgresql.py | ||
prowlarr.py | ||
pubmed.py | ||
qwant.py | ||
recoll.py | ||
reddit.py | ||
redis_server.py | ||
rumble.py | ||
scanr_structures.py | ||
searchcode_code.py | ||
searx_engine.py | ||
semantic_scholar.py | ||
sepiasearch.py | ||
seznam.py | ||
sjp.py | ||
solidtorrents.py | ||
solr.py | ||
soundcloud.py | ||
spotify.py | ||
springer.py | ||
sqlite.py | ||
stackexchange.py | ||
stackoverflow.py | ||
startpage.py | ||
tineye.py | ||
tokyotoshokan.py | ||
torrentz.py | ||
translated.py | ||
tvmaze.py | ||
unsplash.py | ||
vimeo.py | ||
wikidata.py | ||
wikipedia.py | ||
wolframalpha_api.py | ||
wolframalpha_noapi.py | ||
wordnik.py | ||
www1x.py | ||
xpath.py | ||
xpath_flex.py | ||
yacy.py | ||
yahoo.py | ||
yahoo_news.py | ||
yggtorrent.py | ||
youtube_api.py | ||
youtube_noapi.py |