From f6695cea5960ab2a8c87b36dd1894abe04e108dd Mon Sep 17 00:00:00 2001 From: rinpatch Date: Fri, 27 Apr 2018 17:55:42 +0300 Subject: [PATCH] Fix nyaa to use https --- searx/engines/nyaa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py index 6a8e598c..c57979a5 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