summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorrinpatch <rinpatch@airmail.cc>2018-04-27 17:55:42 +0300
committerrinpatch <rinpatch@airmail.cc>2018-04-27 17:55:42 +0300
commitf6695cea5960ab2a8c87b36dd1894abe04e108dd (patch)
tree6d40eeb6738836e7e50704e67d377754b79eba62 /searx/engines
parent5f3ada4721831b5dee5db2704cfcb45fdfda04db (diff)
downloadsearxng-f6695cea5960ab2a8c87b36dd1894abe04e108dd.tar.gz
searxng-f6695cea5960ab2a8c87b36dd1894abe04e108dd.zip
Fix nyaa to use https
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/nyaa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py
index 6a8e598c4..c57979a5f 100644
--- a/searx/engines/nyaa.py
+++ b/searx/engines/nyaa.py
@@ -1,7 +1,7 @@
"""
Nyaa.si (Anime Bittorrent tracker)
- @website http://www.nyaa.si/
+ @website https://nyaa.si/
@provide-api no
@using-api no
@results HTML
@@ -19,7 +19,7 @@ categories = ['files', 'images', 'videos', 'music']
paging = True
# search-url
-base_url = 'http://www.nyaa.si/'
+base_url = 'https://nyaa.si/'
search_url = base_url + '?page=search&{query}&offset={offset}'
# xpath queries