Browse Source

Add ccctv engine to settings.yml

Stefan Antoni 8 years ago
parent
commit
96c8d36e7b
2 changed files with 11 additions and 0 deletions
  1. 1
    0
      AUTHORS.rst
  2. 10
    0
      searx/settings.yml

+ 1
- 0
AUTHORS.rst View File

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

+ 10
- 0
searx/settings.yml View File

@@ -91,6 +91,16 @@ engines:
91 91
     disabled : True
92 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 104
   - name : crossref
95 105
     engine : json_engine
96 106
     paging : True