Merge pull request #86 from pointhi/engines

little fix for google images engine
This commit is contained in:
Adam Tauber 2014-08-31 23:26:35 +02:00
commit 55dfb305a0

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