diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-10-26 13:04:31 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-10-26 13:04:31 +0200 |
| commit | 5cfea47e0dc4ed18e1dc60ffb807a66e4839484f (patch) | |
| tree | 0b392a989c39431d34d740f351aef7e3df86f098 /config/services | |
| parent | 114aecc713204635dc2d0275ee88c0b683f4d637 (diff) | |
add invisible whitespace at the end of the query to prevent redirections
Diffstat (limited to 'config/services')
| -rw-r--r-- | config/services/web/searx/searx/engines.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/services/web/searx/searx/engines.nix b/config/services/web/searx/searx/engines.nix index 7aa292a..70a4cb2 100644 --- a/config/services/web/searx/searx/engines.nix +++ b/config/services/web/searx/searx/engines.nix @@ -53,7 +53,8 @@ in (disable [ { # Emojipedia name = "emojipedia"; engine = "xpath"; - search_url = "https://emojipedia.org/search/?q={query}"; + # an invisible whitespace is added at the end of the query to prevent redirections + search_url = "https://emojipedia.org/search/?q={query}%E2%80%8E"; url_xpath = ''//ol[@class="search-results"]/li/h2/a/@href''; title_xpath = ''//ol[@class="search-results"]/li/h2/a''; content_xpath = ''//ol[@class="search-results"]/li/p''; |
