flickr engine: bug fix

This commit is contained in:
dalf 2013-12-30 22:24:42 +01:00
parent 141b04c6dd
commit 9eddcdb8e4

View file

@ -7,7 +7,7 @@ from urlparse import urljoin
categories = ['images']
url = 'https://secure.flickr.com/'
search_url = url+'search/?q={query}'
search_url = url+'search/?{query}'
def request(query, params):
params['url'] = search_url.format(query=urlencode({'q': query}))