ソースを参照

fix google play movies xpath

Noémi Ványi 8 年 前
コミット
c6ed0dae6c
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      searx/settings.yml

+ 2
- 2
searx/settings.yml ファイルの表示

@@ -250,8 +250,8 @@ engines:
250 250
     engine        : xpath
251 251
     search_url    : https://play.google.com/store/search?q={query}&c=movies
252 252
     url_xpath     : //a[@class="title"]/@href
253
-    title_xpath   : //a[@class="title"]
254
-    content_xpath : //a[@class="subtitle"]
253
+    title_xpath   : //a[@class="title"]/@title
254
+    content_xpath : //a[contains(@class, "subtitle")]
255 255
     categories : videos
256 256
     shortcut : gpm
257 257
     disabled : True