mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[mod] add movies category for tmdb, imdb and moviepilot
This commit is contained in:
parent
0330648b98
commit
fc4a20f734
@ -27,7 +27,7 @@ about = {
|
|||||||
"results": 'HTML',
|
"results": 'HTML',
|
||||||
}
|
}
|
||||||
|
|
||||||
categories = []
|
categories = ["movies"]
|
||||||
paging = False
|
paging = False
|
||||||
|
|
||||||
# suggestion_url = "https://sg.media-imdb.com/suggestion/{letter}/{query}.json"
|
# suggestion_url = "https://sg.media-imdb.com/suggestion/{letter}/{query}.json"
|
||||||
|
@ -39,7 +39,7 @@ about = {
|
|||||||
'language': 'de',
|
'language': 'de',
|
||||||
}
|
}
|
||||||
paging = True
|
paging = True
|
||||||
categories = []
|
categories = ["movies"]
|
||||||
|
|
||||||
base_url = "https://www.moviepilot.de"
|
base_url = "https://www.moviepilot.de"
|
||||||
image_url = "https://assets.cdn.moviepilot.de/files/{image_id}/fill/155/223/{filename}"
|
image_url = "https://assets.cdn.moviepilot.de/files/{image_id}/fill/155/223/{filename}"
|
||||||
|
@ -1487,6 +1487,7 @@ engines:
|
|||||||
- name: tmdb
|
- name: tmdb
|
||||||
engine: xpath
|
engine: xpath
|
||||||
paging: true
|
paging: true
|
||||||
|
categories: movies
|
||||||
search_url: https://www.themoviedb.org/search?page={pageno}&query={query}
|
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")]
|
results_xpath: //div[contains(@class,"movie") or contains(@class,"tv")]//div[contains(@class,"card")]
|
||||||
url_xpath: .//div[contains(@class,"poster")]/a/@href
|
url_xpath: .//div[contains(@class,"poster")]/a/@href
|
||||||
|
Loading…
Reference in New Issue
Block a user