From 5e2b0b3ee02177b1697f05c629ee32afed86a4bd 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 d8e13cc15..21b639acf 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