From 140125e6417381042c57bdbeaffb1c8de0364543 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 15 Sep 2023 10:18:05 +0200 Subject: [PATCH] [feat] implementation of the movie database --- searx/settings.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index b8370dfb4..5efea6f11 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1449,6 +1449,18 @@ engines: shortcut: ts disabled: true + - name: tmdb + engine: xpath + paging: true + 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 + thumbnail_xpath: .//img/@src + title_xpath: .//div[contains(@class,"title")]//h2 + content_xpath: .//div[contains(@class,"overview")] + shortcut: tm + disabled: true + # Requires Tor - name: torch engine: xpath