on master help sign in
Merge pull request #2573 from unixfox/yggtorrent

update yggtorrent url + add it back

commit44a6593c135efaaa28e2db9ff07238dd37024e8c authorAlexandre Flament <alex@al-f.net> dateTue 16 Feb 2021, 08:22 (6 years ago) parent09e28ae4b37e10
2 files changed+8−9
searx/engines/yggtorrent.py+2−2 searx/settings.yml+6−7
searx/engines/yggtorrent.py+2−2
@@ -12,7 +12,7 @@ from searx.poolrequests import get as http_get
1212
1313# about
1414about = {
15− "website": 'https://www2.yggtorrent.si',
15+ "website": 'https://www4.yggtorrent.li/',
1616 "wikidata_id": None,
1717 "official_api_documentation": None,
1818 "use_official_api": False,
@@ -25,7 +25,7 @@ categories = ['videos', 'music', 'files']
2525paging = True
2626
2727# search-url
28−url = 'https://www2.yggtorrent.si/'
28+url = 'https://www4.yggtorrent.li/'
2929search_url = url + 'engine/search?name={search_term}&do=search&page={pageno}&category={search_type}'
3030
3131# yggtorrent specific type-definitions
searx/settings.yml+6−7
@@ -1022,13 +1022,12 @@ engines:
10221022 # Or you can use the html non-stable engine, activated by default
10231023 engine : youtube_noapi
10241024
1025− # tmp suspended: Cloudflare CAPTCHA
1026− #- name : yggtorrent
1027− # engine : yggtorrent
1028− # shortcut : ygg
1029− # url: https://www2.yggtorrent.si/
1030− # disabled : True
1031− # timeout : 4.0
1025+ - name : yggtorrent
1026+ engine : yggtorrent
1027+ shortcut : ygg
1028+ url: https://www4.yggtorrent.li/
1029+ disabled : True
1030+ timeout : 4.0
10321031
10331032 - name : dailymotion
10341033 engine : dailymotion