mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] fixes google play engines and adds thumbnails to their results (#1612)
fix google play apps, google play apps, google play music engines xpath engine: thumbnail_xpath can define an optional thumbnail
This commit is contained in:
parent
d0dd296424
commit
87baa74a86
2 changed files with 37 additions and 17 deletions
|
|
@ -311,31 +311,37 @@ engines:
|
|||
shortcut : gos
|
||||
|
||||
- name : google play apps
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=apps
|
||||
url_xpath : //a[@class="title"]/@href
|
||||
title_xpath : //a[@class="title"]
|
||||
content_xpath : //a[@class="subtitle"]
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=apps
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]/img/@data-src'
|
||||
categories : files
|
||||
shortcut : gpa
|
||||
disabled : True
|
||||
|
||||
- name : google play movies
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=movies
|
||||
url_xpath : //a[@class="title"]/@href
|
||||
title_xpath : //a[@class="title"]/@title
|
||||
content_xpath : //a[contains(@class, "subtitle")]
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=movies
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]/img/@data-src'
|
||||
categories : videos
|
||||
shortcut : gpm
|
||||
disabled : True
|
||||
|
||||
- name : google play music
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=music
|
||||
url_xpath : //a[@class="title"]/@href
|
||||
title_xpath : //a[@class="title"]
|
||||
content_xpath : //a[@class="subtitle"]
|
||||
engine : xpath
|
||||
search_url : https://play.google.com/store/search?q={query}&c=music
|
||||
results_xpath : '//div[@class="WHE7ib mpg5gc"]'
|
||||
title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
|
||||
url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
|
||||
content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
|
||||
thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]/img/@data-src'
|
||||
categories : music
|
||||
shortcut : gps
|
||||
disabled : True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue