Przeglądaj źródła

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

Fix nyaa to use https
Adam Tauber 7 lat temu
rodzic
commit
819f022074
Brak konta powiązanego z e-mailem autora
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      searx/engines/nyaa.py

+ 2
- 2
searx/engines/nyaa.py Wyświetl plik

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