[enh] paging added to example engine
commita6df9c82d73df4713410455a022351981325e004
authorasciimoo <asciimoo@gmail.com>
dateWed 29 Jan 2014, 21:16 (13 years ago)
parentca271fd
examples/basic_engine.py+2
@@ -8,6 +8,8 @@ def request(query, params):
88 headers : {}
99 data : {} # if method == POST
1010 url : ''
11+ category: 'search category'
12+ pageno : 1 # number of the requested page
1113 '''
1214
1315 params['url'] = 'https://host/%s' % query