瀏覽代碼

[fix] voat.co search xpath and url fixed

misnyo 7 年之前
父節點
當前提交
043143c898
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      searx/settings.yml

+ 4
- 4
searx/settings.yml 查看文件

@@ -641,10 +641,10 @@ engines:
641 641
     engine: xpath
642 642
     shortcut: vo
643 643
     categories: social media
644
-    search_url : https://voat.co/search?q={query}
645
-    url_xpath : //p[contains(@class, "title")]/a/@href
646
-    title_xpath : //p[contains(@class, "title")]/a
647
-    content_xpath : //span[@class="domain"]
644
+    search_url : https://searchvoat.co/?t={query}
645
+    url_xpath : //div[@class="entry"]/p/a[@class="title"]/@href
646
+    title_xpath : //div[@class="entry"]/p/a[@class="title"]
647
+    content_xpath : //div[@class="entry"]/p/span[@class="domain"]
648 648
     timeout : 10.0
649 649
     disabled : True
650 650