Просмотр исходного кода

Add ccctv engine to settings.yml

Stefan Antoni 8 лет назад
Родитель
Сommit
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