summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-29 21:16:55 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-29 21:16:55 +0100
commita6df9c82d73df4713410455a022351981325e004 (patch)
tree90bbdd177b06baa0570ade1c26d6ae1d91394803
parentca271fd8617db722015f629832ed44a845ab73ed (diff)
downloadsearxng-a6df9c82d73df4713410455a022351981325e004.tar.gz
searxng-a6df9c82d73df4713410455a022351981325e004.zip
[enh] paging added to example engine
-rw-r--r--examples/basic_engine.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/basic_engine.py b/examples/basic_engine.py
index 34c34d89d..d786564d3 100644
--- a/examples/basic_engine.py
+++ b/examples/basic_engine.py
@@ -8,6 +8,8 @@ def request(query, params):
headers : {}
data : {} # if method == POST
url : ''
+ category: 'search category'
+ pageno : 1 # number of the requested page
'''
params['url'] = 'https://host/%s' % query