commit: f6695cea5960ab2a8c87b36dd1894abe04e108dd
parent 5f3ada4721831b5dee5db2704cfcb45fdfda04db
Author: rinpatch <rinpatch@airmail.cc>
Date: Fri, 27 Apr 2018 17:55:42 +0300
Fix nyaa to use https
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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