Browse Source

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

Fix nyaa to use https
Adam Tauber 6 years ago
parent
commit
819f022074
No account linked to committer's email
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      searx/engines/nyaa.py

+ 2
- 2
searx/engines/nyaa.py View File

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