little fix for google images engine

This commit is contained in:
Thomas Pointhuber 2014-08-31 23:00:54 +02:00
parent 8167d3cac0
commit 6450082987

View file

@ -8,6 +8,7 @@ categories = ['images']
url = 'https://ajax.googleapis.com/' url = 'https://ajax.googleapis.com/'
search_url = url + 'ajax/services/search/images?v=1.0&start={offset}&rsz=large&safe=off&filter=off&{query}' # noqa search_url = url + 'ajax/services/search/images?v=1.0&start={offset}&rsz=large&safe=off&filter=off&{query}' # noqa
paging = True
def request(query, params): def request(query, params):
offset = (params['pageno'] - 1) * 8 offset = (params['pageno'] - 1) * 8