commit: 96c8d36e7b3c7c27b368aa3bd43e0d6fed79fc6d
parent 0171db5c3f6aca3e60af8b9e288dd6ea541e3e0c
Author: Stefan Antoni <stefan@antoni.io>
Date: Sat, 24 Dec 2016 16:44:12 +0100
Add ccctv engine to settings.yml
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git 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
@@ -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