summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2023-09-18 11:04:59 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-29 22:37:51 +0200
commitfc4a20f734df527514a60d6f7802c1ac10ecc869 (patch)
tree4dc59b1c0484acbab7cd8b0cc7b677cafd329cff /searx
parent0330648b9802d83d03b602591e278e57fad3d5a7 (diff)
downloadsearxng-fc4a20f734df527514a60d6f7802c1ac10ecc869.tar.gz
searxng-fc4a20f734df527514a60d6f7802c1ac10ecc869.zip
[mod] add movies category for tmdb, imdb and moviepilot
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/imdb.py2
-rw-r--r--searx/engines/moviepilot.py2
-rw-r--r--searx/settings.yml1
3 files changed, 3 insertions, 2 deletions
diff --git a/searx/engines/imdb.py b/searx/engines/imdb.py
index 0897b8dca..0c6f2d5f0 100644
--- a/searx/engines/imdb.py
+++ b/searx/engines/imdb.py
@@ -27,7 +27,7 @@ about = {
"results": 'HTML',
}
-categories = []
+categories = ["movies"]
paging = False
# suggestion_url = "https://sg.media-imdb.com/suggestion/{letter}/{query}.json"
diff --git a/searx/engines/moviepilot.py b/searx/engines/moviepilot.py
index 4f7a25862..6bd2b2290 100644
--- a/searx/engines/moviepilot.py
+++ b/searx/engines/moviepilot.py
@@ -39,7 +39,7 @@ about = {
'language': 'de',
}
paging = True
-categories = []
+categories = ["movies"]
base_url = "https://www.moviepilot.de"
image_url = "https://assets.cdn.moviepilot.de/files/{image_id}/fill/155/223/{filename}"
diff --git a/searx/settings.yml b/searx/settings.yml
index e7f53a69c..b2715d050 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1487,6 +1487,7 @@ engines:
- name: tmdb
engine: xpath
paging: true
+ categories: movies
search_url: https://www.themoviedb.org/search?page={pageno}&query={query}
results_xpath: //div[contains(@class,"movie") or contains(@class,"tv")]//div[contains(@class,"card")]
url_xpath: .//div[contains(@class,"poster")]/a/@href