mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
fix yggtorrent url + add it back
This commit is contained in:
parent
aef1161633
commit
4b37e10dd9
2 changed files with 8 additions and 9 deletions
|
@ -12,7 +12,7 @@ from searx.poolrequests import get as http_get
|
|||
|
||||
# about
|
||||
about = {
|
||||
"website": 'https://www2.yggtorrent.si',
|
||||
"website": 'https://www4.yggtorrent.li/',
|
||||
"wikidata_id": None,
|
||||
"official_api_documentation": None,
|
||||
"use_official_api": False,
|
||||
|
@ -25,7 +25,7 @@ categories = ['videos', 'music', 'files']
|
|||
paging = True
|
||||
|
||||
# search-url
|
||||
url = 'https://www2.yggtorrent.si/'
|
||||
url = 'https://www4.yggtorrent.li/'
|
||||
search_url = url + 'engine/search?name={search_term}&do=search&page={pageno}&category={search_type}'
|
||||
|
||||
# yggtorrent specific type-definitions
|
||||
|
|
|
@ -1022,13 +1022,12 @@ engines:
|
|||
# Or you can use the html non-stable engine, activated by default
|
||||
engine : youtube_noapi
|
||||
|
||||
# tmp suspended: Cloudflare CAPTCHA
|
||||
#- name : yggtorrent
|
||||
# engine : yggtorrent
|
||||
# shortcut : ygg
|
||||
# url: https://www2.yggtorrent.si/
|
||||
# disabled : True
|
||||
# timeout : 4.0
|
||||
- name : yggtorrent
|
||||
engine : yggtorrent
|
||||
shortcut : ygg
|
||||
url: https://www4.yggtorrent.li/
|
||||
disabled : True
|
||||
timeout : 4.0
|
||||
|
||||
- name : dailymotion
|
||||
engine : dailymotion
|
||||
|
|
Loading…
Reference in a new issue