@@ -0,0 +1,15 @@
3+def request(query, params):
4+ params['url'] = 'http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=%s&srprop=timestamp&format=json' % query
10+ search_results = loads(resp.text)
12+ for res in search_results.get('query', {}).get('search', []):
13+ results.append({'url': 'https://en.wikipedia.org/wiki/%s' % res['title'], 'title': res['title']})