1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-04 02:20:13 +02:00

Merge pull request #1284 from rinpatch/nyaa-https-fix

Fix nyaa to use https
This commit is contained in:
Adam Tauber 2018-04-28 22:39:20 +02:00 committed by GitHub
commit 819f022074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
""" """
Nyaa.si (Anime Bittorrent tracker) Nyaa.si (Anime Bittorrent tracker)
@website http://www.nyaa.si/ @website https://nyaa.si/
@provide-api no @provide-api no
@using-api no @using-api no
@results HTML @results HTML
@ -19,7 +19,7 @@ categories = ['files', 'images', 'videos', 'music']
paging = True paging = True
# search-url # search-url
base_url = 'http://www.nyaa.si/' base_url = 'https://nyaa.si/'
search_url = base_url + '?page=search&{query}&offset={offset}' search_url = base_url + '?page=search&{query}&offset={offset}'
# xpath queries # xpath queries