瀏覽代碼

Fix nyaa to use https

rinpatch 7 年之前
父節點
當前提交
f6695cea59
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      searx/engines/nyaa.py

+ 2
- 2
searx/engines/nyaa.py 查看文件

1
 """
1
 """
2
  Nyaa.si (Anime Bittorrent tracker)
2
  Nyaa.si (Anime Bittorrent tracker)
3
 
3
 
4
- @website      http://www.nyaa.si/
4
+ @website      https://nyaa.si/
5
  @provide-api  no
5
  @provide-api  no
6
  @using-api    no
6
  @using-api    no
7
  @results      HTML
7
  @results      HTML
19
 paging = True
19
 paging = True
20
 
20
 
21
 # search-url
21
 # search-url
22
-base_url = 'http://www.nyaa.si/'
22
+base_url = 'https://nyaa.si/'
23
 search_url = base_url + '?page=search&{query}&offset={offset}'
23
 search_url = base_url + '?page=search&{query}&offset={offset}'
24
 
24
 
25
 # xpath queries
25
 # xpath queries