浏览代码

Add ccctv engine to settings.yml

Stefan Antoni 8 年前
父节点
当前提交
96c8d36e7b
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 1
    0
      AUTHORS.rst
  2. 10
    0
      searx/settings.yml

+ 1
- 0
AUTHORS.rst 查看文件

60
 - Thomas Renard @threnard
60
 - Thomas Renard @threnard
61
 - Pydo `<https://github.com/pydo>`_
61
 - Pydo `<https://github.com/pydo>`_
62
 - Athemis `<https://github.com/Athemis>`_
62
 - Athemis `<https://github.com/Athemis>`_
63
+- Stefan Antoni `<http://stefan.antoni.io>`

+ 10
- 0
searx/settings.yml 查看文件

91
     disabled : True
91
     disabled : True
92
     shortcut : bb
92
     shortcut : bb
93
 
93
 
94
+  - name : ccc-tv
95
+    engine : xpath
96
+    paging : False
97
+    search_url : https://media.ccc.de/search/?q={query}
98
+    url_xpath : //div[@class="caption"]/h3/a/@href
99
+    title_xpath : //div[@class="caption"]/h3/a/text()
100
+    content_xpath : //div[@class="caption"]/h4/@title
101
+    categories : videos
102
+    shortcut : c3tv
103
+
94
   - name : crossref
104
   - name : crossref
95
     engine : json_engine
105
     engine : json_engine
96
     paging : True
106
     paging : True