From 96c8d36e7b3c7c27b368aa3bd43e0d6fed79fc6d Mon Sep 17 00:00:00 2001 From: Stefan Antoni 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 0c224088..1b6261dd 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -60,3 +60,4 @@ generally made searx better: - Thomas Renard @threnard - Pydo ``_ - Athemis ``_ +- Stefan Antoni `` diff --git a/searx/settings.yml b/searx/settings.yml index 527c8082..3baf85ec 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