summaryrefslogtreecommitdiff
path: root/searx/engines/google.py
AgeCommit message (Collapse)Author
2020-12-03[mod] various engines: use eval_xpath* functions and searx.exceptions.*Alexandre Flament
Engine list: ahmia, duckduckgo_images, elasticsearch, google, google_images, google_videos, youtube_api
2020-10-02[mod] move extract_text, extract_url to searx.utilsAlexandre Flament
2020-10-01[fix] google engine - div classes has been renamed in HTML reultMarkus Heiser
Since 1. October 2020 google has changed the 'class' attribute of the HTML result page. Fix the xpath expressions and ignore <div class="g" ../> sections which do not match to title's xpath expression. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-09-22fetch google's search langs rather than ui langsMarc Abonce Seguin
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-07-08[fix] pep8Adam Tauber
2020-07-07[fix] revise google engineMarkus Heiser
this commit is picked from #1985
2019-12-07[fix] update xpaths for new google results pageMarc Abonce Seguin
2019-12-02Merge pull request #1744 from dalf/optimizationsAdam Tauber
[mod] speed optimization
2019-11-22[fix] Force Google old UI with a new user agentEmilien Devos
2019-11-15[mod] speed optimizationDalf
compile XPath only once avoid redundant call to urlparse get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
2019-05-29[fix] Force Google old UI (#1597)Emilien Devos
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2019-01-06[fix] fetch google's supported languagesMarc Abonce Seguin
2019-01-06[fix] check language aliases when setting search languageMarc Abonce Seguin
2018-04-18[fix] force English results in Google when using en-USMarc Abonce Seguin
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
Add match_language function in utils to match any user given language code with a list of engine's supported languages. Also add language_aliases dict on each engine to translate standard language codes into the custom codes used by the engine.
2018-03-20fix fetch_langauges to be more accurateMarc Abonce Seguin
Add languages supported by either all default general engines or 10 engines.
2017-12-18send constant cookie with query to GoogleNoémi Ványi
2017-12-06remove 'all' option from search languagesmarc
2017-12-05[fix] handle /sorry redirectsAdam Tauber
2017-11-22[fix] use english in google engine if no language was set - this prevents ↵Adam Tauber
guessing the language by the IP of the instance
2017-11-22[fix] revert language changes to prevent CAPTCHAsAdam Tauber
2017-11-21[fix] fix language support of googleAdam Tauber
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-01-27[enh] add result number parsing to google engineAdam Tauber
2017-01-16[enh] show spelling correctionsDavid A Roberts
2017-01-05[enh] add instant answers to google engineAdam Tauber
2016-12-15tests for _fetch_supported_languages in enginesmarc
and refactor method to make it testable without making requests
2016-12-13[mod] fetch supported languages for several enginesmarc
utils/fetch_languages.py gets languages supported by each engine and generates engines_languages.json with each engine's supported language.
2016-12-13filter langaugesmarc
2016-12-13[enh] add supported_languages on engines and auto-generate languages.pymarc
2016-12-11add year to time range to engines which support "Last year"Noémi Ványi
Engines: * Bing images * Flickr (noapi) * Google * Google Images * Google News
2016-12-09[mod] do not escape html content in enginesAdam Tauber
2016-07-26[fix] time range detectionAdam Tauber
2016-07-25add time range search for googleNoemi Vanyi
2016-07-11Fix anomalous backslash in stringstepshal
2016-04-14Merge pull request #526 from ukwt/animeAdam Tauber
Add a few search engines
2016-04-13Fix a few typos in Google search engineKirill Isakov
2016-03-25[fix] no more redirect ++ explicitly specify search language to avoid ↵Adam Tauber
googles ip based heuristics
2016-01-18[fix] temporary disable googles inner links - #491Adam Tauber
2016-01-10[fix] google markup change - closes #489Adam Tauber
2015-12-22[fix] prevent google engine to redirectAdam Tauber
nid/pref cookies are also removed
2015-12-15[fix] quickfix for sometimes missing PREF cookieAdam Tauber
2015-10-29[fix] google engine - ignore new useless result typeAdam Tauber
2015-09-30[fix] content escaping - closes #441Adam Tauber
TODO check other engines too
2015-06-06google engine: code cleanupDalf
2015-06-05google engine :remove OSM mapDalf
2015-06-05[enh] google engine : parse map links and moreAlexandre Flament
2015-05-30[enh] google engine : avoid some "sorry google" by adding another cookie : ↵Alexandre Flament
NID. This cookie is specific by hostname. This allow to send request to google.* (according to the search language). Before this commit, request in other languages than english was sent to www.google.com which was redirected to www.google.* The PREF is still use on the www.google.com domain.