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

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

+ 10 - 0
searx/settings.yml

@@ -91,6 +91,16 @@ engines:
     disabled : True
     disabled : True
     shortcut : bb
     shortcut : bb
 
 
+  - name : ccc-tv
+    engine : xpath
+    paging : False
+    search_url : https://media.ccc.de/search/?q={query}
+    url_xpath : //div[@class="caption"]/h3/a/@href
+    title_xpath : //div[@class="caption"]/h3/a/text()
+    content_xpath : //div[@class="caption"]/h4/@title
+    categories : videos
+    shortcut : c3tv
+
   - name : crossref
   - name : crossref
     engine : json_engine
     engine : json_engine
     paging : True
     paging : True