|
@@ -37,7 +37,7 @@ def get_time_range(time_range):
|
37
|
37
|
# do search-request
|
38
|
38
|
def request(query, params):
|
39
|
39
|
search_after = get_time_range(params['time_range'])
|
40
|
|
- search_url = base_url + 'pagedjson?query={query}&page={page}&after={after}&dir={dir}'
|
|
40
|
+ search_url = base_url + 'json?query={query}&page={page}&after={after}&dir={dir}&highlight=0'
|
41
|
41
|
|
42
|
42
|
params['url'] = search_url.format(query=urlencode({'q': query}), page=params['pageno'], after=search_after, dir=search_dir)
|
43
|
43
|
|