mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] add 'Accept-Language' HTTP header to online processores
Most engines that support languages (and regions) use the Accept-Language from the WEB browser to build a response that fits to the language (and region). - add new engine option: send_accept_language_header Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
a2badb4fe4
commit
8df1f0c47e
21 changed files with 52 additions and 26 deletions
|
|
@ -748,6 +748,7 @@ engines:
|
|||
|
||||
- name: google play movies
|
||||
engine: xpath
|
||||
send_accept_language_header: true
|
||||
search_url: https://play.google.com/store/search?q={query}&c=movies
|
||||
results_xpath: '//div[@class="ImZGtf mpg5gc"]'
|
||||
title_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue