From 96c8d36e7b3c7c27b368aa3bd43e0d6fed79fc6d Mon Sep 17 00:00:00 2001 From: Stefan Antoni Date: Sat, 24 Dec 2016 16:44:12 +0100 Subject: [PATCH 1/2] 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 ``_ - Athemis ``_ +- Stefan Antoni `` 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 From 89914e52e36a5048ec95dd075708f9d2bedf9ac1 Mon Sep 17 00:00:00 2001 From: Stefan Antoni Date: Sun, 25 Dec 2016 22:04:45 +0100 Subject: [PATCH 2/2] Update settings.yml --- searx/settings.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/settings.yml b/searx/settings.yml index 539406d61..69699605d 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -99,6 +99,7 @@ engines: title_xpath : //div[@class="caption"]/h3/a/text() content_xpath : //div[@class="caption"]/h4/@title categories : videos + disabled : True shortcut : c3tv - name : crossref