mirror of https://github.com/searxng/searxng.git
flickr engine: bug fix
This commit is contained in:
parent
141b04c6dd
commit
9eddcdb8e4
|
@ -7,7 +7,7 @@ from urlparse import urljoin
|
||||||
categories = ['images']
|
categories = ['images']
|
||||||
|
|
||||||
url = 'https://secure.flickr.com/'
|
url = 'https://secure.flickr.com/'
|
||||||
search_url = url+'search/?q={query}'
|
search_url = url+'search/?{query}'
|
||||||
|
|
||||||
def request(query, params):
|
def request(query, params):
|
||||||
params['url'] = search_url.format(query=urlencode({'q': query}))
|
params['url'] = search_url.format(query=urlencode({'q': query}))
|
||||||
|
|
Loading…
Reference in New Issue