summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-02-16 08:22:07 +0100
committerGitHub <noreply@github.com>2021-02-16 08:22:07 +0100
commit44a6593c135efaaa28e2db9ff07238dd37024e8c (patch)
treed09dd251a95e5d4bf4f78405a4f302a783f5fa64 /searx
parent09e28ae779b72e328b28486a56caaf63a9c7750d (diff)
parent4b37e10dd9e5b24fadff086397e5a1e4422e5fd2 (diff)
downloadsearxng-44a6593c135efaaa28e2db9ff07238dd37024e8c.tar.gz
searxng-44a6593c135efaaa28e2db9ff07238dd37024e8c.zip
Merge pull request #2573 from unixfox/yggtorrent
update yggtorrent url + add it back
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/yggtorrent.py4
-rw-r--r--searx/settings.yml13
2 files changed, 8 insertions, 9 deletions
diff --git a/searx/engines/yggtorrent.py b/searx/engines/yggtorrent.py
index cad2de52b..8dfc0a0f2 100644
--- a/searx/engines/yggtorrent.py
+++ b/searx/engines/yggtorrent.py
@@ -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
diff --git a/searx/settings.yml b/searx/settings.yml
index 2f96cce22..b3a71e6a7 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -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