commit: 819f022074edbd249a85bcdde100949bc4195777
parent: cc97a5a5f5980e2742a1a2ac6b084210e071ff1e
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sat, 28 Apr 2018 22:39:20 +0200
Merge pull request #1284 from rinpatch/nyaa-https-fix
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