diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-05-18 08:44:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 08:44:34 +0200 |
| commit | da2b0562d43a96c1506659b0892245934f3ecf4d (patch) | |
| tree | f2615ccda48ec50b1ebaa33d88c2bb0078117ca8 /searx/engines | |
| parent | 1970d28a60f9727f889362ff1ca2206e7210268b (diff) | |
| parent | 57cdf180feaf43fa7596c7a38816ebbfc49aad35 (diff) | |
Merge pull request #83 from return42/fix-archive-is
[fix] engine "archive is" - search_url has been changed
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/xpath.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index 612f69abd..b215c2ba1 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -14,6 +14,7 @@ suggestion_xpath = '' results_xpath = '' cached_xpath = '' cached_url = '' +soft_max_redirects = 0 # parameters for engines with paging support # @@ -33,6 +34,7 @@ def request(query, params): params['url'] = search_url.format(**fp) params['query'] = query + params['soft_max_redirects'] = soft_max_redirects return params |