mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 04:41:00 +00:00
[feat] implementation of the movie database
This commit is contained in:
parent
b56db4e04e
commit
140125e641
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue