summaryrefslogtreecommitdiff
path: root/searx/engines/startpage.py
AgeCommit message (Collapse)Author
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2020-12-16Fix the StartPage result title is showing the urllucky13820
Fix the issue 2395 where StartPage result title is showing the url. https://github.com/searx/searx/issues/2395
2020-12-13[Fix] Startpagejoshu9h
2020-11-14[mod] remove unused importAlexandre Flament
use from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA so it is possible to easily remove all unused import using autoflake: autoflake --in-place --recursive --remove-all-unused-imports searx tests
2020-10-02[mod] move extract_text, extract_url to searx.utilsAlexandre Flament
2020-09-22fetch supported languages for startpage engineMarc Abonce Seguin
2020-03-09[Fix] Startpage ValueError on Spanish date formatSpühler Stefan
datetime.parser.parse() does not know the Spanish date format which leads to a ValueError. Fixes #1870 Traceback (most recent call last): File "/usr/local/searx/searx/search.py", line 160, in search_one_http_request_safe search_results = search_one_http_request(engine, query, request_params) File "/usr/local/searx/searx/search.py", line 97, in search_one_http_request return engine.response(response) File "/usr/local/searx/searx/engines/startpage.py", line 102, in response published_date = parser.parse(date_string, dayfirst=True) File "/usr/local/searx/searx-ve/lib/python3.6/site-packages/dateutil/parser/_parser.py", line 1358, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/local/searx/searx-ve/lib/python3.6/site-packages/dateutil/parser/_parser.py", line 649, in parse raise ValueError("Unknown string format:", timestr) ValueError: ('Unknown string format:', '24 Ene 2013')
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-10-14[fix] pep8Adam Tauber
2019-10-14[fix] update startpage engine - closes #1601Adam Tauber
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2019-01-04Merge branch 'master' into masterNoémi Ványi
2018-12-14restore startpage search resultsMichael Pfitzner
2018-12-11update startpage.pydimqua
2017-12-06remove 'all' option from search languagesmarc
2017-05-15[enh] py3 compatibilityAdam Tauber
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-13Add language support for more engines.marc
2016-12-13[enh] add supported_languages on engines and auto-generate languages.pymarc
2016-12-09[mod] do not escape html content in enginesAdam Tauber
2016-07-11Fix anomalous backslash in stringstepshal
2016-01-18[fix] pep8 compatibiltyAdam Tauber
2015-10-24[enh] fix content fetching, parse published date from descriptionThomas Pointhuber
2015-08-24[fix] block ixquick search url'sThomas Pointhuber
2015-08-24[fix] improve result handling of startpage engineThomas Pointhuber
2015-02-06Startpage's unit testCqoicebordel
2015-01-15Flake8Cqoicebordel
2015-01-15Fix startpageCqoicebordel
Fix issue with unicode caracters in startpage : we shouldn't urlencode them if we are using POST. Should fix #169. @dimqua can you confirm ?
2015-01-09[mod] ignore startpage unicode errorsAdam Tauber
2014-11-17[fix] startpage engine compatibilityAdam Tauber
2014-09-02fix startpage engine and add commentsThomas Pointhuber
* add language support * remove not required code * improve google-ad detection (no false detection anymore, I hope) * other improvements
2014-08-06[fix] html escapeAdam Tauber
2014-02-18[mod][fix] startpage engine updatesasciimoo
2014-02-11[mod] len() removed from conditionsasciimoo
2014-01-31[enh] search language support upadtesasciimoo
2014-01-30[fix] print removedasciimoo
2014-01-30[enh] startpage paging initasciimoo
2014-01-24[fix] pep8asciimoo
2014-01-23Merge branch 'ixquick' of https://github.com/pw3t/searx into ixquickpw3t
Conflicts: searx/engines/startpage.py
2014-01-23[ehn] added ixquick engine, using startpage enginepw3t
2014-01-20[fix] pep/flake8 compatibilityasciimoo
2014-01-19[ehn] added ixquick engine, using startpage enginepw3t
2014-01-05[fix] startpage engine : characters with diacritic were preceded by ↵Dalf
whitespace, and cleaner way to parse the result.
2013-11-09[enh] removing result html tagsasciimoo
2013-10-24[fix] urljoin removedasciimoo
2013-10-24[fix] character encoding fixasciimoo
2013-10-19[fix] sanitize results II.asciimoo
2013-10-19[fix] sanitize resultsasciimoo
2013-10-19[fix] using httpsasciimoo