|
@@ -24,6 +24,7 @@ paging = True
|
|
base_url = 'https://www.bing.com/'
|
|
base_url = 'https://www.bing.com/'
|
|
search_string = 'images/search?{query}&count=10&first={offset}'
|
|
search_string = 'images/search?{query}&count=10&first={offset}'
|
|
|
|
|
|
|
|
+
|
|
# do search-request
|
|
# do search-request
|
|
def request(query, params):
|
|
def request(query, params):
|
|
offset = (params['pageno'] - 1) * 10 + 1
|
|
offset = (params['pageno'] - 1) * 10 + 1
|