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.
1c67b6aece
Same behaviour behaviour than Whoogle [1]. Only the google engine with the "Default language" choice "(all)"" is changed by this patch. When searching for a locate place, the result are in the expect language, without missing results [2]: > When a language is not specified, the language interpretation is left up to > Google to decide how the search results should be delivered. The query parameters are copied from Whoogle. With the ``all`` language: - add parameter ``source=lnt`` - don't use parameter ``lr`` - don't add a ``Accept-Language`` HTTP header. The new signature of function ``get_lang_info()`` is: lang_info = get_lang_info(params, lang_list, custom_aliases, supported_any_language) Argument ``supported_any_language`` is True for google.py and False for the other google engines. With this patch the function now returns: - query parameters: ``lang_info['params']`` - HTTP headers: ``lang_info['headers']`` - and as before this patch: - ``lang_info['subdomain']`` - ``lang_info['country']`` - ``lang_info['language']`` [1] https://github.com/benbusby/whoogle-search [2] https://github.com/benbusby/whoogle-search/releases/tag/v0.5.4 |
3 years ago | |
---|---|---|
.. | ||
1337x.py | 3 years ago | |
__init__.py | 3 years ago | |
ahmia.py | ||
apkmirror.py | 3 years ago | |
archlinux.py | ||
artic.py | 3 years ago | |
arxiv.py | ||
bandcamp.py | ||
base.py | ||
bing.py | ||
bing_images.py | ||
bing_news.py | ||
bing_videos.py | ||
btdigg.py | 3 years ago | |
ccengine.py | ||
command.py | ||
core.py | 3 years ago | |
currency_convert.py | ||
dailymotion.py | ||
deezer.py | ||
demo_offline.py | 3 years ago | |
demo_online.py | 3 years ago | |
deviantart.py | 3 years ago | |
dictzone.py | 3 years ago | |
digbt.py | ||
digg.py | 3 years ago | |
docker_hub.py | 3 years ago | |
doku.py | ||
duckduckgo.py | ||
duckduckgo_definitions.py | ||
duckduckgo_images.py | ||
duden.py | ||
dummy-offline.py | ||
dummy.py | ||
ebay.py | ||
elasticsearch.py | ||
etools.py | ||
fdroid.py | ||
flickr.py | ||
flickr_noapi.py | ||
framalibre.py | ||
freesound.py | ||
frinkiac.py | ||
genius.py | 3 years ago | |
gentoo.py | ||
gigablast.py | 3 years ago | |
github.py | ||
google.py | 3 years ago | |
google_images.py | 3 years ago | |
google_news.py | 3 years ago | |
google_scholar.py | 3 years ago | |
google_videos.py | 3 years ago | |
ina.py | ||
invidious.py | ||
json_engine.py | ||
kickass.py | 3 years ago | |
loc.py | ||
mediathekviewweb.py | 3 years ago | |
mediawiki.py | ||
meilisearch.py | 3 years ago | |
microsoft_academic.py | ||
mixcloud.py | ||
mysql_server.py | 3 years ago | |
not_evil.py | ||
nyaa.py | 3 years ago | |
opensemantic.py | ||
openstreetmap.py | 3 years ago | |
pdbe.py | ||
peertube.py | 3 years ago | |
photon.py | ||
piratebay.py | 3 years ago | |
postgresql.py | 3 years ago | |
pubmed.py | ||
qwant.py | 3 years ago | |
recoll.py | ||
reddit.py | ||
redis_server.py | 3 years ago | |
rumble.py | ||
scanr_structures.py | ||
searchcode_code.py | ||
searx_engine.py | ||
semantic_scholar.py | ||
sepiasearch.py | ||
seznam.py | ||
sjp.py | ||
solidtorrents.py | 3 years ago | |
solr.py | 3 years ago | |
soundcloud.py | ||
spotify.py | ||
springer.py | 3 years ago | |
sqlite.py | 3 years ago | |
stackoverflow.py | ||
startpage.py | ||
tokyotoshokan.py | 3 years ago | |
torrentz.py | 3 years ago | |
translated.py | 3 years ago | |
unsplash.py | 3 years ago | |
vimeo.py | ||
wikidata.py | ||
wikipedia.py | ||
wolframalpha_api.py | ||
wolframalpha_noapi.py | ||
wordnik.py | ||
www1x.py | ||
xpath.py | 3 years ago | |
yacy.py | ||
yahoo.py | ||
yahoo_news.py | 3 years ago | |
yggtorrent.py | 3 years ago | |
youtube_api.py | ||
youtube_noapi.py |