diff options
author | Bnyro <bnyro@tutanota.com> | 2023-09-15 10:18:05 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-15 19:41:37 +0200 |
commit | 140125e6417381042c57bdbeaffb1c8de0364543 (patch) | |
tree | 6c8b74d1cdc93e21f3a8e5767e8f4c7d7ed34ae7 | |
parent | b56db4e04e0f229ba8d3dc7881382d0f1ebdeb7d (diff) | |
download | searxng-140125e6417381042c57bdbeaffb1c8de0364543.tar.gz searxng-140125e6417381042c57bdbeaffb1c8de0364543.zip |
[feat] implementation of the movie database
-rw-r--r-- | searx/settings.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |