summaryrefslogtreecommitdiff
path: root/examples
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 /examples
parentca271fd8617db722015f629832ed44a845ab73ed (diff)
[enh] paging added to example engine
Diffstat (limited to 'examples')
-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 34c34d89..d786564d 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