From 1113f7e616df9227eaa13c4c30a9c61b1a74dea0 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 29 May 2021 16:14:19 +0200 Subject: [PATCH] [mod] the bittorent search engines are available only in the files category related to #101 --- searx/engines/1337x.py | 2 +- searx/engines/btdigg.py | 2 +- searx/engines/kickass.py | 2 +- searx/engines/nyaa.py | 2 +- searx/engines/piratebay.py | 2 +- searx/engines/tokyotoshokan.py | 2 +- searx/engines/torrentz.py | 2 +- searx/engines/yggtorrent.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/searx/engines/1337x.py b/searx/engines/1337x.py index 9cc7c1b79..e6a243596 100644 --- a/searx/engines/1337x.py +++ b/searx/engines/1337x.py @@ -19,7 +19,7 @@ about = { url = 'https://1337x.to/' search_url = url + 'search/{search_term}/{pageno}/' -categories = ['videos'] +categories = ['files'] paging = True diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py index 863396f6e..cda9e9355 100644 --- a/searx/engines/btdigg.py +++ b/searx/engines/btdigg.py @@ -21,7 +21,7 @@ about = { } # engine dependent config -categories = ['videos', 'music', 'files'] +categories = ['files'] paging = True # search-url diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py index 6a44e2fd7..ad451dbb1 100644 --- a/searx/engines/kickass.py +++ b/searx/engines/kickass.py @@ -19,7 +19,7 @@ about = { } # engine dependent config -categories = ['videos', 'music', 'files'] +categories = ['files'] paging = True # search-url diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py index f8178d637..4fe383efa 100644 --- a/searx/engines/nyaa.py +++ b/searx/engines/nyaa.py @@ -18,7 +18,7 @@ about = { } # engine dependent config -categories = ['files', 'images', 'videos', 'music'] +categories = ['files'] paging = True # search-url diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py index 98a2dd9f2..d4b94ecfa 100644 --- a/searx/engines/piratebay.py +++ b/searx/engines/piratebay.py @@ -21,7 +21,7 @@ about = { } # engine dependent config -categories = ["videos", "music", "files"] +categories = ["files"] # search-url url = "https://thepiratebay.org/" diff --git a/searx/engines/tokyotoshokan.py b/searx/engines/tokyotoshokan.py index 91d1f01d5..0d62453a9 100644 --- a/searx/engines/tokyotoshokan.py +++ b/searx/engines/tokyotoshokan.py @@ -20,7 +20,7 @@ about = { } # engine dependent config -categories = ['files', 'videos', 'music'] +categories = ['files'] paging = True # search-url diff --git a/searx/engines/torrentz.py b/searx/engines/torrentz.py index 94a7a5343..884741d47 100644 --- a/searx/engines/torrentz.py +++ b/searx/engines/torrentz.py @@ -20,7 +20,7 @@ about = { } # engine dependent config -categories = ['files', 'videos', 'music'] +categories = ['files'] paging = True # search-url diff --git a/searx/engines/yggtorrent.py b/searx/engines/yggtorrent.py index f5af91f46..ca008c472 100644 --- a/searx/engines/yggtorrent.py +++ b/searx/engines/yggtorrent.py @@ -21,7 +21,7 @@ about = { } # engine dependent config -categories = ['videos', 'music', 'files'] +categories = ['files'] paging = True # search-url