searxngRebrandZaclys/searx
Spühler Stefan 4f90fb6a92 [Fix] Startpage ValueError on Spanish date format
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')
2020-03-09 09:31:20 +01:00
..
answerers [fix] small fixes in preferences view's text 2019-07-27 22:53:46 -07:00
data update user agents 2019-11-23 19:27:49 -07:00
engines [Fix] Startpage ValueError on Spanish date format 2020-03-09 09:31:20 +01:00
plugins fix out of range error in tracker remover plugin 2019-10-22 23:17:00 -07:00
static Merge branch 'master' into fix-infinite-scroll 2020-01-28 10:59:03 +00:00
templates [mod] move public instance list to https://searx.space 2020-02-14 13:48:44 +01:00
translations [enh] update translations 2020-01-30 11:16:15 +01:00
__init__.py [enh] introduce private engines 2020-02-08 11:47:39 +01:00
autocomplete.py Add Swisscows autocomplete option 2020-02-14 19:19:24 +01:00
exceptions.py [fix] add message to SearxParameterException - fixes #1722 2019-10-14 15:06:25 +02:00
languages.py fix fetch_langauges to be more accurate 2018-03-20 17:58:20 -06:00
poolrequests.py [fix] measure request duration only if total_time attribute is set - fixes autocompleter 2017-11-23 01:52:54 +01:00
preferences.py preferences.py: implement defaults if unset 2020-02-23 20:56:05 +01:00
query.py [enh] introduce private engines 2020-02-08 11:47:39 +01:00
results.py [mod] speed optimization 2019-11-15 09:33:15 +01:00
search.py [enh] introduce private engines 2020-02-08 11:47:39 +01:00
settings_robot.yml preferences.py: implement defaults if unset 2020-02-23 20:56:05 +01:00
settings.yml Add missing autocomplete backends to settings.yml comment 2020-02-23 15:41:08 +01:00
testing.py searx/testing.py: fixed pep8 error 2020-02-24 07:55:14 +01:00
url_utils.py minor fixes of pubmed engine 2017-11-01 17:02:38 +01:00
utils.py [mod] speed optimization 2019-11-15 09:33:15 +01:00
version.py [enh] version v0.16.0 2020-01-30 13:39:06 +01:00
webapp.py monkey patch babel get_translations to support Occitan 2020-02-23 21:46:26 -07:00