on master help sign in
[enh] paging added to example engine
a6df9c8asciimoo
examples/basic_engine.py+2
@@ -8,6 +8,8 @@ def request(query, params):
8 headers : {}
8 headers : {}
9 data : {} # if method == POST
9 data : {} # if method == POST
10 url : ''
10 url : ''
11+ category: 'search category'
12+ pageno : 1 # number of the requested page
11 '''
13 '''
12
14
13 params['url'] = 'https://host/%s' % query
15 params['url'] = 'https://host/%s' % query