소스 검색

[enh] paging added to example engine

asciimoo 11 년 전
부모
커밋
a6df9c82d7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      examples/basic_engine.py

+ 2
- 0
examples/basic_engine.py 파일 보기

@@ -8,6 +8,8 @@ def request(query, params):
8 8
       headers : {}
9 9
       data    : {} # if method == POST
10 10
       url     : ''
11
+      category: 'search category'
12
+      pageno  : 1 # number of the requested page
11 13
     '''
12 14
 
13 15
     params['url'] = 'https://host/%s' % query