From 96c8d36e7b3c7c27b368aa3bd43e0d6fed79fc6d Mon Sep 17 00:00:00 2001
From: Stefan Antoni <stefan@antoni.io>
Date: Sat, 24 Dec 2016 16:44:12 +0100
Subject: [PATCH] Add ccctv engine to settings.yml

---
 AUTHORS.rst        |  1 +
 searx/settings.yml | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/AUTHORS.rst b/AUTHORS.rst
index 0c224088f..1b6261dd0 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -60,3 +60,4 @@ generally made searx better:
 - Thomas Renard @threnard
 - Pydo `<https://github.com/pydo>`_
 - Athemis `<https://github.com/Athemis>`_
+- Stefan Antoni `<http://stefan.antoni.io>`
diff --git a/searx/settings.yml b/searx/settings.yml
index 527c80829..3baf85ec2 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -91,6 +91,16 @@ engines:
     disabled : True
     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
     engine : json_engine
     paging : True