summaryrefslogtreecommitdiff
path: root/searx/engines/arxiv.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 17:33:18 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 20:49:54 +0100
commit3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa (patch)
treee87938d67386bb7d0272c14e1902867eeb152676 /searx/engines/arxiv.py
parent42a194898baf96e15edeb9268fbec5ecd4423c09 (diff)
downloadsearxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.tar.gz
searxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.zip
display if an engine does not support https
Closes #302
Diffstat (limited to 'searx/engines/arxiv.py')
-rw-r--r--searx/engines/arxiv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/arxiv.py b/searx/engines/arxiv.py
index c702c5987..1190de363 100644
--- a/searx/engines/arxiv.py
+++ b/searx/engines/arxiv.py
@@ -19,7 +19,7 @@ from searx.utils import eval_xpath_list, eval_xpath_getindex
categories = ['science']
paging = True
-base_url = 'http://export.arxiv.org/api/query?search_query=all:'\
+base_url = 'https://export.arxiv.org/api/query?search_query=all:'\
+ '{query}&start={offset}&max_results={number_of_results}'
# engine dependent config